home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-10-01 | 140.6 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Apr 12 17:55:04 1993, modified Fri Oct 1 06:23:36 1993, creator HyperCard, type HyperCard stack, 94560 bytes "Timekeeper Demo" , at 0x171e0 49177 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 54 69 6d 65 6b 65 | 65 70 65 72 20 44 65 6d |..Timeke|eper Dem|
|00000010| 6f 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |o.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 71 60 00 | 00 c0 19 a7 ef 95 b8 a8 |.....q`.|........|
|00000060| d1 b5 a8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9e 20 00 00 |........|..... ..|
|00000080| 00 00 66 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..f.STAK|........|
|00000090| 00 00 00 0a 00 01 71 60 | 00 00 66 00 00 00 00 00 |......q`|..f.....|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a b8 00 00 00 03 |........|........|
|000000b0| 00 00 0b 70 00 00 08 10 | 00 00 00 00 00 00 00 00 |...p....|........|
|000000c0| 00 00 10 45 d0 33 db 46 | 00 02 00 00 5c 00 00 00 |...E.3.F|....\...|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| bf 2f f2 43 00 00 00 00 | 00 e9 01 00 02 3f 03 00 |./.C....|.....?..|
|00000100| 00 00 00 00 03 28 04 00 | 00 00 00 00 00 00 00 00 |.....(..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d a9 00 00 0c d1 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-- | |
|00000690| 20 20 20 20 20 20 20 20 | 54 49 4d 45 4b 45 45 50 | |TIMEKEEP|
|000006a0| 45 52 20 76 2e 20 33 2e | 30 20 44 65 6d 6f 0d 2d |ER v. 3.|0 Demo.-|
|000006b0| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |- | |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 43 6f 70 79 72 | | Copyr|
|000006d0| 69 67 68 74 20 31 39 39 | 33 0d 2d 2d 20 20 20 20 |ight 199|3.-- |
|000006e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006f0| 20 20 20 20 20 20 20 62 | 79 20 44 65 6e 6e 69 73 | b|y Dennis|
|00000700| 20 42 69 72 63 68 0d 2d | 2d 20 20 20 20 20 20 20 | Birch.-|- |
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 20 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 | All ri|ghts res|
|00000730| 65 72 76 65 64 0d 2d 2d | 0d 2d 2d 20 20 20 20 20 |erved.--|.-- |
|00000740| 20 20 20 20 20 20 20 53 | 68 6f 77 44 69 61 6c 6f | S|howDialo|
|00000750| 67 20 58 43 4d 44 20 43 | 6f 70 79 72 69 67 68 74 |g XCMD C|opyright|
|00000760| 20 31 39 38 38 2c 31 39 | 38 39 20 62 79 20 4a 61 | 1988,19|89 by Ja|
|00000770| 79 20 48 6f 64 67 64 6f | 6e 0d 2d 2d 20 20 20 20 |y Hodgdo|n.-- |
|00000780| 20 20 20 20 20 4e 65 77 | 20 46 69 6c 65 20 58 46 | New| File XF|
|00000790| 43 4e 20 63 6f 75 72 74 | 65 73 79 20 41 6e 64 72 |CN court|esy Andr|
|000007a0| 65 77 20 47 69 6c 6d 61 | 72 74 69 6e 2c 20 42 72 |ew Gilma|rtin, Br|
|000007b0| 6f 77 6e 20 55 6e 69 76 | 65 72 73 69 74 79 0d 0d |own Univ|ersity..|
|000007c0| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-- | |
|000007d0| 20 20 20 20 20 20 20 20 | 52 65 76 69 73 65 64 20 | |Revised |
|000007e0| 4a 75 6c 79 20 31 2c 20 | 31 39 39 33 0d 0d 6f 6e |July 1, |1993..on|
|000007f0| 20 72 65 73 75 6d 65 53 | 74 61 63 6b 0d 67 6c 6f | resumeS|tack.glo|
|00000800| 62 61 6c 20 62 67 69 64 | 2c 74 6b 4f 70 65 6e 0d |bal bgid|,tkOpen.|
|00000810| 73 65 74 20 74 68 65 20 | 63 61 6e 74 61 62 6f 72 |set the |cantabor|
|00000820| 74 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |t of thi|s stack |
|00000830| 74 6f 20 74 72 75 65 0d | 69 66 20 74 6b 4f 70 65 |to true.|if tkOpe|
|00000840| 6e 20 3d 20 66 61 6c 73 | 65 20 74 68 65 6e 20 73 |n = fals|e then s|
|00000850| 74 61 72 74 53 74 75 66 | 66 0d 69 66 20 62 67 69 |tartStuf|f.if bgi|
|00000860| 64 20 ad 20 65 6d 70 74 | 79 20 74 68 65 6e 20 73 |d . empt|y then s|
|00000870| 65 6e 64 20 6f 70 65 6e | 42 61 63 6b 67 72 6f 75 |end open|Backgrou|
|00000880| 6e 64 20 74 6f 20 62 67 | 20 69 64 20 62 67 69 64 |nd to bg| id bgid|
|00000890| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|000008a0| 74 6b 4f 70 65 6e 0d 65 | 6e 64 20 72 65 73 75 6d |tkOpen.e|nd resum|
|000008b0| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 6f 70 65 6e 53 |eStack..|on openS|
|000008c0| 74 61 63 6b 0d 67 6c 6f | 62 61 6c 20 74 6b 4f 70 |tack.glo|bal tkOp|
|000008d0| 65 6e 2c 7a 0d 69 66 20 | 77 6f 72 64 20 31 20 6f |en,z.if |word 1 o|
|000008e0| 66 20 74 68 65 20 76 65 | 72 73 69 6f 6e 20 3c 20 |f the ve|rsion < |
|000008f0| 32 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 53 |2 then.a|nswer "S|
|00000900| 6f 72 72 79 2e 20 54 69 | 6d 65 6b 65 65 70 65 72 |orry. Ti|mekeeper|
|00000910| 20 72 65 71 75 69 72 65 | 73 20 48 79 70 65 72 43 | require|s HyperC|
|00000920| 61 72 64 20 76 65 72 73 | 69 6f 6e 20 32 2e 30 20 |ard vers|ion 2.0 |
|00000930| 6f 72 20 68 69 67 68 65 | 72 2e 22 0d 67 6f 20 68 |or highe|r.".go h|
|00000940| 6f 6d 65 0d 65 6e 64 20 | 69 66 0d 73 65 74 20 74 |ome.end |if.set t|
|00000950| 68 65 20 63 61 6e 74 61 | 62 6f 72 74 20 6f 66 20 |he canta|bort of |
|00000960| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 74 72 |this sta|ck to tr|
|00000970| 75 65 0d 69 66 20 7a 20 | 3d 20 65 6d 70 74 79 20 |ue.if z |= empty |
|00000980| 74 68 65 6e 20 70 75 74 | 20 31 20 2b 20 28 74 68 |then put| 1 + (th|
|00000990| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|000009a0| 73 20 69 6e 20 66 6c 64 | 20 69 64 20 31 20 6f 66 |s in fld| id 1 of|
|000009b0| 20 63 64 20 31 29 20 69 | 6e 74 6f 20 7a 0d 69 66 | cd 1) i|nto z.if|
|000009c0| 20 74 6b 4f 70 65 6e 20 | ad 20 74 72 75 65 20 74 | tkOpen |. true t|
|000009d0| 68 65 6e 20 73 74 61 72 | 74 53 74 75 66 66 0d 70 |hen star|tStuff.p|
|000009e0| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 74 6b |ut false| into tk|
|000009f0| 4f 70 65 6e 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |Open.end| openSta|
|00000a00| 63 6b 0d 0d 6f 6e 20 73 | 74 61 72 74 53 74 75 66 |ck..on s|tartStuf|
|00000a10| 66 0d 67 6c 6f 62 61 6c | 20 62 67 69 64 2c 74 6b |f.global| bgid,tk|
|00000a20| 50 72 65 66 73 2c 73 74 | 61 72 74 4c 65 76 65 6c |Prefs,st|artLevel|
|00000a30| 2c 73 74 61 72 74 42 6c | 69 6e 64 0d 73 65 74 20 |,startBl|ind.set |
|00000a40| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00000a50| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 74 20 |lock scr|een.put |
|00000a60| 74 68 65 20 75 73 65 72 | 4c 65 76 65 6c 20 69 6e |the user|Level in|
|00000a70| 74 6f 20 73 74 61 72 74 | 4c 65 76 65 6c 0d 70 75 |to start|Level.pu|
|00000a80| 74 20 74 68 65 20 62 6c | 69 6e 64 54 79 70 69 6e |t the bl|indTypin|
|00000a90| 67 20 69 6e 74 6f 20 73 | 74 61 72 74 42 6c 69 6e |g into s|tartBlin|
|00000aa0| 64 0d 70 75 74 20 66 6c | 64 20 69 64 20 34 38 20 |d.put fl|d id 48 |
|00000ab0| 6f 66 20 63 64 20 31 20 | 69 6e 74 6f 20 74 6b 50 |of cd 1 |into tkP|
|00000ac0| 72 65 66 73 0d 63 68 6f | 6f 73 65 20 62 72 6f 77 |refs.cho|ose brow|
|00000ad0| 73 65 20 74 6f 6f 6c 0d | 68 69 64 65 20 6d 65 73 |se tool.|hide mes|
|00000ae0| 73 61 67 65 0d 68 69 64 | 65 20 70 61 74 74 65 72 |sage.hid|e patter|
|00000af0| 6e 20 77 69 6e 64 6f 77 | 0d 68 69 64 65 20 74 6f |n window|.hide to|
|00000b00| 6f 6c 20 77 69 6e 64 6f | 77 0d 69 66 20 74 68 65 |ol windo|w.if the|
|00000b10| 72 65 20 69 73 20 6e 6f | 74 20 61 20 6d 65 6e 75 |re is no|t a menu|
|00000b20| 20 22 54 69 6d 65 6b 65 | 65 70 65 72 22 20 74 68 | "Timeke|eper" th|
|00000b30| 65 6e 20 63 72 65 61 74 | 65 20 6d 65 6e 75 20 22 |en creat|e menu "|
|00000b40| 54 69 6d 65 6b 65 65 70 | 65 72 22 0d 73 68 6f 77 |Timekeep|er".show|
|00000b50| 20 6d 65 6e 75 42 61 72 | 0d 73 65 74 20 74 68 65 | menuBar|.set the|
|00000b60| 20 63 61 6e 74 50 65 65 | 6b 20 6f 66 20 74 68 69 | cantPee|k of thi|
|00000b70| 73 20 73 74 61 63 6b 20 | 74 6f 20 74 72 75 65 0d |s stack |to true.|
|00000b80| 73 65 74 20 74 68 65 20 | 75 73 65 72 4c 65 76 65 |set the |userLeve|
|00000b90| 6c 20 74 6f 20 33 0d 73 | 65 74 20 74 68 65 20 62 |l to 3.s|et the b|
|00000ba0| 6c 69 6e 64 54 79 70 69 | 6e 67 20 74 6f 20 66 61 |lindTypi|ng to fa|
|00000bb0| 6c 73 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |lse.if t|here is |
|00000bc0| 61 20 6d 65 6e 75 20 22 | 4f 62 6a 65 63 74 73 22 |a menu "|Objects"|
|00000bd0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00000be0| 75 20 22 4f 62 6a 65 63 | 74 73 22 0d 69 66 20 74 |u "Objec|ts".if t|
|00000bf0| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 20 22 |here is |a menu "|
|00000c00| 45 64 69 74 22 20 74 68 | 65 6e 20 64 65 6c 65 74 |Edit" th|en delet|
|00000c10| 65 20 6d 65 6e 75 20 22 | 45 64 69 74 22 0d 69 66 |e menu "|Edit".if|
|00000c20| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|00000c30| 20 22 54 6f 6f 6c 73 22 | 20 74 68 65 6e 20 64 65 | "Tools"| then de|
|00000c40| 6c 65 74 65 20 6d 65 6e | 75 20 22 54 6f 6f 6c 73 |lete men|u "Tools|
|00000c50| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00000c60| 6d 65 6e 75 20 22 53 74 | 79 6c 65 22 20 74 68 65 |menu "St|yle" the|
|00000c70| 6e 20 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 22 53 |n delete| menu "S|
|00000c80| 74 79 6c 65 22 0d 69 66 | 20 74 68 65 72 65 20 69 |tyle".if| there i|
|00000c90| 73 20 61 20 6d 65 6e 75 | 20 22 46 6f 6e 74 22 20 |s a menu| "Font" |
|00000ca0| 74 68 65 6e 20 64 65 6c | 65 74 65 20 6d 65 6e 75 |then del|ete menu|
|00000cb0| 20 22 46 6f 6e 74 22 0d | 69 66 20 74 68 65 72 65 | "Font".|if there|
|00000cc0| 20 69 73 20 61 20 6d 65 | 6e 75 49 74 65 6d 20 22 | is a me|nuItem "|
|00000cd0| 44 65 6c 65 74 65 20 53 | 74 61 63 6b 2e 2e 2e 22 |Delete S|tack..."|
|00000ce0| 20 6f 66 20 6d 65 6e 75 | 20 46 69 6c 65 20 74 68 | of menu| File th|
|00000cf0| 65 6e 20 c2 0d 64 65 6c | 65 74 65 20 6d 65 6e 75 |en ..del|ete menu|
|00000d00| 49 74 65 6d 20 22 44 65 | 6c 65 74 65 20 53 74 61 |Item "De|lete Sta|
|00000d10| 63 6b 2e 2e 2e 22 20 6f | 66 20 6d 65 6e 75 20 46 |ck..." o|f menu F|
|00000d20| 69 6c 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ile.if t|here is |
|00000d30| 61 20 6d 65 6e 75 49 74 | 65 6d 20 22 50 72 6f 74 |a menuIt|em "Prot|
|00000d40| 65 63 74 20 53 74 61 63 | 6b 2e 2e 2e 22 20 6f 66 |ect Stac|k..." of|
|00000d50| 20 6d 65 6e 75 20 46 69 | 6c 65 20 74 68 65 6e 20 | menu Fi|le then |
|00000d60| c2 0d 64 65 6c 65 74 65 | 20 6d 65 6e 75 49 74 65 |..delete| menuIte|
|00000d70| 6d 20 22 50 72 6f 74 65 | 63 74 20 53 74 61 63 6b |m "Prote|ct Stack|
|00000d80| 2e 2e 2e 22 20 6f 66 20 | 6d 65 6e 75 20 46 69 6c |..." of |menu Fil|
|00000d90| 65 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |e.if the|re is a |
|00000da0| 6d 65 6e 75 49 74 65 6d | 20 22 50 72 69 6e 74 20 |menuItem| "Print |
|00000db0| 46 69 65 6c 64 2e 2e 2e | 22 20 6f 66 20 6d 65 6e |Field...|" of men|
|00000dc0| 75 20 46 69 6c 65 20 74 | 68 65 6e 20 c2 0d 64 65 |u File t|hen ..de|
|00000dd0| 6c 65 74 65 20 6d 65 6e | 75 49 74 65 6d 20 22 50 |lete men|uItem "P|
|00000de0| 72 69 6e 74 20 46 69 65 | 6c 64 2e 2e 2e 22 20 6f |rint Fie|ld..." o|
|00000df0| 66 20 6d 65 6e 75 20 46 | 69 6c 65 0d 69 66 20 74 |f menu F|ile.if t|
|00000e00| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 49 74 |here is |a menuIt|
|00000e10| 65 6d 20 22 50 72 69 6e | 74 20 43 61 72 64 22 20 |em "Prin|t Card" |
|00000e20| 6f 66 20 6d 65 6e 75 20 | 46 69 6c 65 20 74 68 65 |of menu |File the|
|00000e30| 6e 20 c2 0d 64 65 6c 65 | 74 65 20 6d 65 6e 75 49 |n ..dele|te menuI|
|00000e40| 74 65 6d 20 22 50 72 69 | 6e 74 20 43 61 72 64 22 |tem "Pri|nt Card"|
|00000e50| 20 6f 66 20 6d 65 6e 75 | 20 46 69 6c 65 0d 69 66 | of menu| File.if|
|00000e60| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|00000e70| 49 74 65 6d 20 22 50 72 | 69 6e 74 20 53 74 61 63 |Item "Pr|int Stac|
|00000e80| 6b 2e 2e 2e 22 20 6f 66 | 20 6d 65 6e 75 20 46 69 |k..." of| menu Fi|
|00000e90| 6c 65 20 74 68 65 6e 20 | c2 0d 64 65 6c 65 74 65 |le then |..delete|
|00000ea0| 20 6d 65 6e 75 49 74 65 | 6d 20 22 50 72 69 6e 74 | menuIte|m "Print|
|00000eb0| 20 53 74 61 63 6b 2e 2e | 2e 22 20 6f 66 20 6d 65 | Stack..|." of me|
|00000ec0| 6e 75 20 46 69 6c 65 0d | 75 6e 6c 6f 63 6b 20 73 |nu File.|unlock s|
|00000ed0| 63 72 65 65 6e 0d 65 6e | 64 20 73 74 61 72 74 53 |creen.en|d startS|
|00000ee0| 74 75 66 66 0d 0d 6f 6e | 20 63 6c 6f 73 65 53 74 |tuff..on| closeSt|
|00000ef0| 61 63 6b 0d 67 6c 6f 62 | 61 6c 20 73 74 61 72 74 |ack.glob|al start|
|00000f00| 4c 65 76 65 6c 2c 74 6b | 50 72 65 66 73 2c 74 6b |Level,tk|Prefs,tk|
|00000f10| 4f 70 65 6e 2c 70 61 73 | 74 65 4d 6f 64 65 2c 73 |Open,pas|teMode,s|
|00000f20| 74 61 72 74 42 6c 69 6e | 64 2c 62 67 69 64 0d 70 |tartBlin|d,bgid.p|
|00000f30| 72 65 66 53 65 74 0d 69 | 66 20 70 61 73 74 65 4d |refSet.i|f pasteM|
|00000f40| 6f 64 65 20 3d 20 74 72 | 75 65 20 74 68 65 6e 20 |ode = tr|ue then |
|00000f50| 72 65 73 74 6f 72 65 4d | 6f 76 65 0d 70 75 74 20 |restoreM|ove.put |
|00000f60| 65 6d 70 74 79 20 69 6e | 74 6f 20 62 67 69 64 0d |empty in|to bgid.|
|00000f70| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00000f80| 6e 64 6f 77 20 22 73 74 | 61 72 74 4d 6f 76 65 22 |ndow "st|artMove"|
|00000f90| 20 74 68 65 6e 20 63 6c | 6f 73 65 20 77 69 6e 64 | then cl|ose wind|
|00000fa0| 6f 77 20 22 73 74 61 72 | 74 4d 6f 76 65 22 0d 69 |ow "star|tMove".i|
|00000fb0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00000fc0| 64 6f 77 20 22 64 6f 4d | 6f 76 65 22 20 74 68 65 |dow "doM|ove" the|
|00000fd0| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 22 |n close |window "|
|00000fe0| 64 6f 4d 6f 76 65 22 0d | 69 66 20 74 68 65 20 76 |doMove".|if the v|
|00000ff0| 69 73 69 62 6c 65 20 6f | 66 20 66 6c 64 20 69 64 |isible o|f fld id|
|00001000| 20 35 38 20 6f 66 20 63 | 64 20 31 20 3d 20 74 72 | 58 of c|d 1 = tr|
|00001010| 75 65 20 74 68 65 6e 20 | 68 69 64 65 48 65 6c 70 |ue then |hideHelp|
|00001020| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00001030| 69 6e 64 6f 77 20 28 73 | 68 6f 72 74 20 6e 61 6d |indow (s|hort nam|
|00001040| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 29 |e of thi|s stack)|
|00001050| 20 74 68 65 6e 20 73 68 | 6f 77 20 77 69 6e 64 6f | then sh|ow windo|
|00001060| 77 20 28 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |w (short| name of|
|00001070| 20 74 68 69 73 20 73 74 | 61 63 6b 29 0d 69 66 20 | this st|ack).if |
|00001080| 66 72 65 65 53 69 7a 65 | 20 6f 66 20 74 68 69 73 |freeSize| of this|
|00001090| 20 73 74 61 63 6b 20 3e | 20 31 32 30 30 30 20 74 | stack >| 12000 t|
|000010a0| 68 65 6e 20 64 6f 4d 65 | 6e 75 20 22 43 6f 6d 70 |hen doMe|nu "Comp|
|000010b0| 61 63 74 20 53 74 61 63 | 6b 22 0d 69 66 20 74 6b |act Stac|k".if tk|
|000010c0| 4f 70 65 6e 20 3d 20 66 | 61 6c 73 65 20 74 68 65 |Open = f|alse the|
|000010d0| 6e 0d 72 65 73 65 74 20 | 6d 65 6e 75 42 61 72 0d |n.reset |menuBar.|
|000010e0| 73 65 74 20 74 68 65 20 | 75 73 65 72 4c 65 76 65 |set the |userLeve|
|000010f0| 6c 20 74 6f 20 73 74 61 | 72 74 4c 65 76 65 6c 0d |l to sta|rtLevel.|
|00001100| 73 65 74 20 74 68 65 20 | 62 6c 69 6e 64 54 79 70 |set the |blindTyp|
|00001110| 69 6e 67 20 74 6f 20 73 | 74 61 72 74 42 6c 69 6e |ing to s|tartBlin|
|00001120| 64 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 63 6c 6f |d.end if|.end clo|
|00001130| 73 65 53 74 61 63 6b 0d | 0d 6f 6e 20 68 69 64 65 |seStack.|.on hide|
|00001140| 48 65 6c 70 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |Help.loc|k screen|
|00001150| 0d 68 69 64 65 20 66 6c | 64 20 69 64 20 35 38 20 |.hide fl|d id 58 |
|00001160| 6f 66 20 63 64 20 31 0d | 68 69 64 65 20 66 6c 64 |of cd 1.|hide fld|
|00001170| 20 69 64 20 35 37 20 6f | 66 20 63 64 20 31 0d 68 | id 57 o|f cd 1.h|
|00001180| 69 64 65 20 62 67 20 62 | 74 6e 20 69 64 20 36 30 |ide bg b|tn id 60|
|00001190| 20 6f 66 20 63 64 20 31 | 0d 65 6e 61 62 6c 65 20 | of cd 1|.enable |
|000011a0| 6d 65 6e 75 20 54 69 6d | 65 6b 65 65 70 65 72 0d |menu Tim|ekeeper.|
|000011b0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 73 65 |unlock s|creen.se|
|000011c0| 74 20 74 68 65 20 73 63 | 72 6f 6c 6c 20 6f 66 20 |t the sc|roll of |
|000011d0| 66 6c 64 20 69 64 20 35 | 37 20 74 6f 20 30 0d 65 |fld id 5|7 to 0.e|
|000011e0| 6e 64 20 68 69 64 65 48 | 65 6c 70 0d 0d 6f 6e 20 |nd hideH|elp..on |
|000011f0| 70 72 69 6e 74 52 65 70 | 6f 72 74 0d 67 6c 6f 62 |printRep|ort.glob|
|00001200| 61 6c 20 74 6b 50 72 65 | 66 73 0d 63 68 65 63 6b |al tkPre|fs.check|
|00001210| 52 65 70 6f 72 74 4c 65 | 6e 67 74 68 0d 69 66 20 |ReportLe|ngth.if |
|00001220| 6c 69 6e 65 20 39 20 6f | 66 20 74 6b 50 72 65 66 |line 9 o|f tkPref|
|00001230| 73 20 3d 20 22 74 72 75 | 65 22 20 74 68 65 6e 0d |s = "tru|e" then.|
|00001240| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |put the |short na|
|00001250| 6d 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |me of bg| btn id |
|00001260| 34 36 20 69 6e 74 6f 20 | 73 70 65 63 46 6c 64 4c |46 into |specFldL|
|00001270| 61 62 65 6c 0d 6f 70 65 | 6e 20 72 65 70 6f 72 74 |abel.ope|n report|
|00001280| 20 70 72 69 6e 74 69 6e | 67 20 77 69 74 68 20 74 | printin|g with t|
|00001290| 65 6d 70 6c 61 74 65 20 | 22 53 70 65 63 69 61 6c |emplate |"Special|
|000012a0| 20 52 65 70 6f 72 74 22 | 0d 65 6c 73 65 20 6f 70 | Report"|.else op|
|000012b0| 65 6e 20 72 65 70 6f 72 | 74 20 70 72 69 6e 74 69 |en repor|t printi|
|000012c0| 6e 67 20 77 69 74 68 20 | 74 65 6d 70 6c 61 74 65 |ng with |template|
|000012d0| 20 22 4a 6f 62 20 53 68 | 65 65 74 20 52 65 70 6f | "Job Sh|eet Repo|
|000012e0| 72 74 22 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |rt".lock| screen.|
|000012f0| 6d 61 72 6b 20 74 68 69 | 73 20 63 64 0d 70 72 69 |mark thi|s cd.pri|
|00001300| 6e 74 20 6d 61 72 6b 65 | 64 20 63 64 73 0d 63 6c |nt marke|d cds.cl|
|00001310| 6f 73 65 20 70 72 69 6e | 74 69 6e 67 0d 75 6e 6c |ose prin|ting.unl|
|00001320| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 75 6e 6d 61 72 |ock scre|en.unmar|
|00001330| 6b 20 74 68 69 73 20 63 | 64 0d 65 6e 64 20 70 72 |k this c|d.end pr|
|00001340| 69 6e 74 52 65 70 6f 72 | 74 0d 0d 6f 6e 20 63 68 |intRepor|t..on ch|
|00001350| 65 63 6b 52 65 70 6f 72 | 74 4c 65 6e 67 74 68 0d |eckRepor|tLength.|
|00001360| 67 6c 6f 62 61 6c 20 74 | 6b 50 72 65 66 73 0d 67 |global t|kPrefs.g|
|00001370| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |et the n|umber of|
|00001380| 20 6c 69 6e 65 73 20 69 | 6e 20 66 6c 64 20 69 64 | lines i|n fld id|
|00001390| 20 32 0d 69 66 20 69 74 | 20 3e 20 35 32 30 20 64 | 2.if it| > 520 d|
|000013a0| 69 76 20 74 68 65 20 70 | 72 69 6e 74 54 65 78 74 |iv the p|rintText|
|000013b0| 48 65 69 67 68 74 20 74 | 68 65 6e 0d 70 75 74 20 |Height t|hen.put |
|000013c0| 22 54 68 69 73 20 72 65 | 70 6f 72 74 20 69 73 20 |"This re|port is |
|000013d0| 22 20 26 20 69 74 20 2d | 20 34 30 20 26 20 22 20 |" & it -| 40 & " |
|000013e0| 6c 69 6e 65 73 20 74 6f | 6f 20 6c 6f 6e 67 20 74 |lines to|o long t|
|000013f0| 6f 20 22 20 26 c2 0d 22 | 66 69 74 20 6f 6e 20 6f |o " &.."|fit on o|
|00001400| 6e 65 20 70 61 67 65 2e | 20 45 78 70 6f 72 74 20 |ne page.| Export |
|00001410| 64 61 74 61 20 61 6e 64 | 20 70 72 69 6e 74 20 69 |data and| print i|
|00001420| 6e 20 61 6e 6f 74 68 65 | 72 20 70 72 6f 67 72 61 |n anothe|r progra|
|00001430| 6d 2c 20 22 26 c2 0d 22 | 6f 72 20 63 6c 69 63 6b |m, "&.."|or click|
|00001440| 20 d2 4f 4b d3 20 74 6f | 20 70 72 69 6e 74 20 61 | .OK. to| print a|
|00001450| 6e 79 77 61 79 2e 22 20 | 69 6e 74 6f 20 70 72 6f |nyway." |into pro|
|00001460| 6d 70 74 0d 73 68 6f 77 | 44 69 61 6c 6f 67 20 31 |mpt.show|Dialog 1|
|00001470| 2c 34 30 35 30 2c 70 72 | 6f 6d 70 74 2c 54 52 55 |,4050,pr|ompt,TRU|
|00001480| 45 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |E.if the| result |
|00001490| 69 73 20 31 20 74 68 65 | 6e 20 65 78 69 74 20 74 |is 1 the|n exit t|
|000014a0| 6f 20 68 79 70 65 72 63 | 61 72 64 0d 65 6e 64 20 |o hyperc|ard.end |
|000014b0| 69 66 0d 65 6e 64 20 63 | 68 65 63 6b 52 65 70 6f |if.end c|heckRepo|
|000014c0| 72 74 4c 65 6e 67 74 68 | 0d 0d 6f 6e 20 73 75 73 |rtLength|..on sus|
|000014d0| 70 65 6e 64 53 74 61 63 | 6b 0d 67 6c 6f 62 61 6c |pendStac|k.global|
|000014e0| 20 74 6b 4f 70 65 6e 2c | 73 74 61 72 74 4c 65 76 | tkOpen,|startLev|
|000014f0| 65 6c 2c 73 74 61 72 74 | 42 6c 69 6e 64 0d 69 66 |el,start|Blind.if|
|00001500| 20 74 6b 4f 70 65 6e 20 | 3d 20 66 61 6c 73 65 20 | tkOpen |= false |
|00001510| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 75 73 65 |then.set| the use|
|00001520| 72 4c 65 76 65 6c 20 74 | 6f 20 73 74 61 72 74 4c |rLevel t|o startL|
|00001530| 65 76 65 6c 0d 73 65 74 | 20 74 68 65 20 62 6c 69 |evel.set| the bli|
|00001540| 6e 64 54 79 70 69 6e 67 | 20 74 6f 20 73 74 61 72 |ndTyping| to star|
|00001550| 74 42 6c 69 6e 64 0d 72 | 65 73 65 74 20 6d 65 6e |tBlind.r|eset men|
|00001560| 75 42 61 72 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |uBar.end| if.end |
|00001570| 73 75 73 70 65 6e 64 53 | 74 61 63 6b 0d 0d 6f 6e |suspendS|tack..on|
|00001580| 20 64 65 6c 43 61 72 64 | 0d 67 6c 6f 62 61 6c 20 | delCard|.global |
|00001590| 63 61 72 64 4e 75 6d 2c | 63 75 74 4c 69 6e 65 2c |cardNum,|cutLine,|
|000015a0| 66 72 6f 6d 46 69 65 6c | 64 2c 74 72 75 6e 63 46 |fromFiel|d,truncF|
|000015b0| 69 65 6c 64 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |ield.if |the numb|
|000015c0| 65 72 20 6f 66 20 63 64 | 73 20 69 6e 20 74 68 69 |er of cd|s in thi|
|000015d0| 73 20 62 67 20 3c 32 20 | 6f 72 20 74 68 65 20 63 |s bg <2 |or the c|
|000015e0| 61 6e 74 64 65 6c 65 74 | 65 20 6f 66 20 74 68 69 |antdelet|e of thi|
|000015f0| 73 20 63 64 20 3d 20 74 | 72 75 65 20 74 68 65 6e |s cd = t|rue then|
|00001600| 0d 62 65 65 70 20 6f 6e | 65 0d 73 68 6f 77 44 69 |.beep on|e.showDi|
|00001610| 61 6c 6f 67 20 32 2c 32 | 39 35 31 2c 22 53 6f 72 |alog 2,2|951,"Sor|
|00001620| 72 79 2c 20 79 6f 75 20 | 63 61 6e d5 74 20 64 65 |ry, you |can.t de|
|00001630| 6c 65 74 65 20 74 68 69 | 73 20 63 61 72 64 21 22 |lete thi|s card!"|
|00001640| 2c 22 22 2c 22 22 0d 65 | 78 69 74 20 64 65 6c 43 |,"","".e|xit delC|
|00001650| 61 72 64 0d 65 6e 64 20 | 69 66 0d 62 65 65 70 0d |ard.end |if.beep.|
|00001660| 73 68 6f 77 44 69 61 6c | 6f 67 20 31 2c 31 36 30 |showDial|og 1,160|
|00001670| 35 30 2c 22 59 6f 75 20 | 64 6f 6e d5 74 20 52 45 |50,"You |don.t RE|
|00001680| 41 4c 4c 59 20 77 61 6e | 74 20 74 6f 20 64 65 73 |ALLY wan|t to des|
|00001690| 74 72 6f 79 20 61 6c 6c | 20 74 68 69 73 20 64 61 |troy all| this da|
|000016a0| 74 61 2c 20 44 4f 20 59 | 4f 55 3f 22 2c 54 52 55 |ta, DO Y|OU?",TRU|
|000016b0| 45 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |E.if the| result |
|000016c0| 3d 20 31 20 74 68 65 6e | 20 65 78 69 74 20 64 65 |= 1 then| exit de|
|000016d0| 6c 43 61 72 64 0d 65 6c | 73 65 0d 73 65 74 20 63 |lCard.el|se.set c|
|000016e0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 73 |ursor to| watch.s|
|000016f0| 65 74 20 6c 6f 63 6b 53 | 63 72 65 65 6e 20 74 6f |et lockS|creen to|
|00001700| 20 74 72 75 65 0d 70 75 | 74 20 74 68 65 20 73 68 | true.pu|t the sh|
|00001710| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00001720| 20 63 64 20 69 6e 74 6f | 20 63 61 72 64 4e 61 6d | cd into| cardNam|
|00001730| 65 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 63 |e.if wor|d 1 of c|
|00001740| 61 72 64 4e 61 6d 65 20 | 3d 20 22 41 72 63 22 20 |ardName |= "Arc" |
|00001750| 74 68 65 6e 0d 70 75 74 | 20 35 32 20 69 6e 74 6f |then.put| 52 into|
|00001760| 20 66 72 6f 6d 46 69 65 | 6c 64 0d 70 75 74 20 34 | fromFie|ld.put 4|
|00001770| 37 20 69 6e 74 6f 20 74 | 72 75 6e 63 46 69 65 6c |7 into t|runcFiel|
|00001780| 64 0d 65 6c 73 65 0d 70 | 75 74 20 31 37 20 69 6e |d.else.p|ut 17 in|
|00001790| 74 6f 20 66 72 6f 6d 46 | 69 65 6c 64 0d 70 75 74 |to fromF|ield.put|
|000017a0| 20 35 30 20 69 6e 74 6f | 20 74 72 75 6e 63 46 69 | 50 into| truncFi|
|000017b0| 65 6c 64 0d 65 6e 64 20 | 69 66 0d 67 65 74 20 69 |eld.end |if.get i|
|000017c0| 74 65 6d 46 69 6e 64 28 | 63 61 72 64 4e 61 6d 65 |temFind(|cardName|
|000017d0| 2c 66 6c 64 20 69 64 20 | 66 72 6f 6d 46 69 65 6c |,fld id |fromFiel|
|000017e0| 64 20 6f 66 20 63 64 20 | 31 2c 34 29 0d 69 66 20 |d of cd |1,4).if |
|000017f0| 69 74 20 ad 20 30 20 74 | 68 65 6e 0d 64 65 6c 65 |it . 0 t|hen.dele|
|00001800| 74 65 20 6c 69 6e 65 20 | 69 74 20 6f 66 20 66 6c |te line |it of fl|
|00001810| 64 20 69 64 20 66 72 6f | 6d 46 69 65 6c 64 20 6f |d id fro|mField o|
|00001820| 66 20 63 64 20 31 0d 64 | 65 6c 65 74 65 20 6c 69 |f cd 1.d|elete li|
|00001830| 6e 65 20 69 74 20 6f 66 | 20 66 6c 64 20 69 64 20 |ne it of| fld id |
|00001840| 74 72 75 6e 63 46 69 65 | 6c 64 20 6f 66 20 63 64 |truncFie|ld of cd|
|00001850| 20 31 0d 65 6e 64 20 69 | 66 0d 67 6f 20 63 64 20 | 1.end i|f.go cd |
|00001860| 63 61 72 64 4e 61 6d 65 | 0d 64 6f 4d 65 6e 75 20 |cardName|.doMenu |
|00001870| 22 43 75 74 20 43 61 72 | 64 22 0d 67 6f 20 63 64 |"Cut Car|d".go cd|
|00001880| 20 31 0d 73 65 6e 64 20 | 6f 70 65 6e 42 61 63 6b | 1.send |openBack|
|00001890| 67 72 6f 75 6e 64 20 74 | 6f 20 62 67 20 31 0d 73 |ground t|o bg 1.s|
|000018a0| 65 74 20 6c 6f 63 6b 4d | 65 73 73 61 67 65 73 20 |et lockM|essages |
|000018b0| 74 6f 20 66 61 6c 73 65 | 0d 75 6e 6c 6f 63 6b 20 |to false|.unlock |
|000018c0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 69 66 0d 65 6e |screen.e|nd if.en|
|000018d0| 64 20 64 65 6c 43 61 72 | 64 0d 0d 6f 6e 20 64 6f |d delCar|d..on do|
|000018e0| 4d 65 6e 75 20 77 68 69 | 63 68 0d 69 66 20 77 68 |Menu whi|ch.if wh|
|000018f0| 69 63 68 20 3d 20 22 4d | 65 73 73 61 67 65 22 20 |ich = "M|essage" |
|00001900| 61 6e 64 20 74 68 65 20 | 73 68 69 66 74 4b 65 79 |and the |shiftKey|
|00001910| 20 69 73 20 6e 6f 74 20 | 64 6f 77 6e 20 74 68 65 | is not |down the|
|00001920| 6e 20 65 78 69 74 20 64 | 6f 4d 65 6e 75 0d 65 6c |n exit d|oMenu.el|
|00001930| 73 65 20 69 66 20 77 68 | 69 63 68 20 3d 20 66 69 |se if wh|ich = fi|
|00001940| 72 73 74 20 61 6e 64 20 | 74 68 65 20 69 64 20 6f |rst and |the id o|
|00001950| 66 20 74 68 69 73 20 62 | 67 20 3d 20 32 37 34 34 |f this b|g = 2744|
|00001960| 20 74 68 65 6e 20 65 78 | 69 74 20 64 6f 4d 65 6e | then ex|it doMen|
|00001970| 75 0d 65 6c 73 65 20 69 | 66 20 77 68 69 63 68 20 |u.else i|f which |
|00001980| 3d 20 6e 65 78 74 20 20 | 61 6e 64 20 74 68 65 20 |= next |and the |
|00001990| 69 64 20 6f 66 20 74 68 | 69 73 20 62 67 20 3d 20 |id of th|is bg = |
|000019a0| 32 37 34 34 20 74 68 65 | 6e 0d 67 6f 20 62 67 20 |2744 the|n.go bg |
|000019b0| 69 64 20 35 34 34 39 0d | 65 78 69 74 20 64 6f 4d |id 5449.|exit doM|
|000019c0| 65 6e 75 0d 65 6c 73 65 | 20 69 66 20 77 68 69 63 |enu.else| if whic|
|000019d0| 68 20 3d 20 70 72 65 76 | 20 61 6e 64 20 74 68 65 |h = prev| and the|
|000019e0| 20 69 64 20 6f 66 20 74 | 68 69 73 20 62 67 20 3d | id of t|his bg =|
|000019f0| 20 32 37 34 34 20 74 68 | 65 6e 0d 67 6f 20 6c 61 | 2744 th|en.go la|
|00001a00| 73 74 20 63 64 20 6f 66 | 20 62 67 20 69 64 20 35 |st cd of| bg id 5|
|00001a10| 34 34 39 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |449.exit| doMenu.|
|00001a20| 65 6c 73 65 20 69 66 20 | 77 68 69 63 68 20 3d 20 |else if |which = |
|00001a30| 22 50 72 65 76 22 20 74 | 68 65 6e 0d 67 6f 20 70 |"Prev" t|hen.go p|
|00001a40| 72 65 76 69 6f 75 73 20 | 63 64 20 6f 66 20 74 68 |revious |cd of th|
|00001a50| 69 73 20 62 67 0d 65 78 | 69 74 20 64 6f 4d 65 6e |is bg.ex|it doMen|
|00001a60| 75 0d 65 6c 73 65 20 69 | 66 20 77 68 69 63 68 20 |u.else i|f which |
|00001a70| 3d 20 22 4e 65 78 74 22 | 20 74 68 65 6e 0d 67 6f |= "Next"| then.go|
|00001a80| 20 6e 65 78 74 20 63 61 | 72 64 20 6f 66 20 74 68 | next ca|rd of th|
|00001a90| 69 73 20 62 67 0d 65 78 | 69 74 20 64 6f 4d 65 6e |is bg.ex|it doMen|
|00001aa0| 75 0d 65 6c 73 65 20 69 | 66 20 77 68 69 63 68 20 |u.else i|f which |
|00001ab0| 3d 20 22 50 72 6f 74 65 | 63 74 20 53 74 61 63 6b |= "Prote|ct Stack|
|00001ac0| 2e 2e 2e 22 20 61 6e 64 | 20 6d 73 67 20 ad 20 70 |..." and| msg . p|
|00001ad0| 61 73 73 77 6f 72 64 20 | 74 68 65 6e 20 65 78 69 |assword |then exi|
|00001ae0| 74 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 20 69 66 |t doMenu|.else if|
|00001af0| 20 28 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f | (the sh|ort id o|
|00001b00| 66 20 63 64 20 31 20 3d | 20 32 39 32 38 29 20 74 |f cd 1 =| 2928) t|
|00001b10| 68 65 6e 0d 69 66 20 28 | 77 68 69 63 68 20 3d 20 |hen.if (|which = |
|00001b20| 22 51 75 69 74 20 48 79 | 70 65 72 43 61 72 64 22 |"Quit Hy|perCard"|
|00001b30| 20 6f 72 20 77 68 69 63 | 68 20 3d 20 22 43 6c 6f | or whic|h = "Clo|
|00001b40| 73 65 20 53 74 61 63 6b | 22 29 20 61 6e 64 20 28 |se Stack|") and (|
|00001b50| 74 68 65 20 76 69 73 69 | 62 6c 65 20 c2 0d 6f 66 |the visi|ble ..of|
|00001b60| 20 62 74 6e 20 69 64 20 | 36 20 6f 66 20 63 64 20 | btn id |6 of cd |
|00001b70| 31 20 3d 20 74 72 75 65 | 20 6f 72 20 74 68 65 20 |1 = true| or the |
|00001b80| 76 69 73 69 62 6c 65 20 | 6f 66 20 62 74 6e 20 69 |visible |of btn i|
|00001b90| 64 20 38 20 6f 66 20 63 | 64 20 31 20 3d 20 74 72 |d 8 of c|d 1 = tr|
|00001ba0| 75 65 29 20 74 68 65 6e | 0d 73 68 6f 77 44 69 61 |ue) then|.showDia|
|00001bb0| 6c 6f 67 20 31 2c 34 36 | 39 35 2c 22 59 6f 75 d5 |log 1,46|95,"You.|
|00001bc0| 72 65 20 73 74 69 6c 6c | 20 74 69 6d 69 6e 67 20 |re still| timing |
|00001bd0| 61 20 6a 6f 62 2e 20 22 | 26 20 c2 0d 22 41 72 65 |a job. "|& .."Are|
|00001be0| 20 79 6f 75 20 73 75 72 | 65 20 79 6f 75 20 77 61 | you sur|e you wa|
|00001bf0| 6e 74 20 74 6f 20 65 78 | 69 74 20 54 69 6d 65 6b |nt to ex|it Timek|
|00001c00| 65 65 70 65 72 3f 22 2c | 54 52 55 45 0d 69 66 20 |eeper?",|TRUE.if |
|00001c10| 74 68 65 20 72 65 73 75 | 6c 74 20 3d 20 34 20 74 |the resu|lt = 4 t|
|00001c20| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 68 79 70 65 |hen exit| to hype|
|00001c30| 72 63 61 72 64 0d 65 6e | 64 20 69 66 0d 65 6e 64 |rcard.en|d if.end|
|00001c40| 20 69 66 0d 70 61 73 73 | 20 64 6f 4d 65 6e 75 0d | if.pass| doMenu.|
|00001c50| 65 6e 64 20 64 6f 4d 65 | 6e 75 0d 0d 6f 6e 20 73 |end doMe|nu..on s|
|00001c60| 65 74 55 70 0d 67 6c 6f | 62 61 6c 20 74 6b 50 72 |etUp.glo|bal tkPr|
|00001c70| 65 66 73 2c 70 72 65 66 | 73 4c 69 6e 65 2c 70 72 |efs,pref|sLine,pr|
|00001c80| 6f 6d 70 74 0d 70 75 74 | 20 33 20 69 6e 74 6f 20 |ompt.put| 3 into |
|00001c90| 70 72 65 66 73 4c 69 6e | 65 0d 70 75 74 20 22 53 |prefsLin|e.put "S|
|00001ca0| 61 76 65 20 61 6c 6c 20 | 74 69 6d 65 20 72 65 70 |ave all |time rep|
|00001cb0| 6f 72 74 73 2e 2e 2e 22 | 20 69 6e 74 6f 20 70 72 |orts..."| into pr|
|00001cc0| 6f 6d 70 74 0d 62 65 65 | 70 20 6f 6e 65 0d 73 68 |ompt.bee|p one.sh|
|00001cd0| 6f 77 44 69 61 6c 6f 67 | 20 32 2c 32 39 35 31 2c |owDialog| 2,2951,|
|00001ce0| 22 50 6c 65 61 73 65 20 | 69 6e 64 69 63 61 74 65 |"Please |indicate|
|00001cf0| 20 77 68 65 72 65 20 79 | 6f 75 20 77 61 6e 74 20 | where y|ou want |
|00001d00| 72 65 70 6f 72 74 73 20 | 73 61 76 65 64 2e 22 2c |reports |saved.",|
|00001d10| 22 22 2c 22 22 0d 67 65 | 74 46 69 6c 65 4c 6f 63 |"","".ge|tFileLoc|
|00001d20| 0d 65 6e 64 20 73 65 74 | 55 70 0d 0d 6f 6e 20 67 |.end set|Up..on g|
|00001d30| 65 74 46 69 6c 65 4c 6f | 63 0d 67 6c 6f 62 61 6c |etFileLo|c.global|
|00001d40| 20 74 6b 50 72 65 66 73 | 2c 70 72 65 66 73 4c 69 | tkPrefs|,prefsLi|
|00001d50| 6e 65 2c 70 72 6f 6d 70 | 74 0d 70 75 74 20 6c 69 |ne,promp|t.put li|
|00001d60| 6e 65 20 31 20 6f 66 20 | 4e 65 77 46 69 6c 65 4e |ne 1 of |NewFileN|
|00001d70| 61 6d 65 20 28 70 72 6f | 6d 70 74 2c 22 49 6e 20 |ame (pro|mpt,"In |
|00001d80| 74 68 69 73 20 66 6f 6c | 64 65 72 22 29 20 69 6e |this fol|der") in|
|00001d90| 74 6f 20 70 61 74 68 0d | 69 66 20 70 61 74 68 20 |to path.|if path |
|00001da0| 3d 20 22 46 43 4e 22 20 | 6f 72 20 70 61 74 68 20 |= "FCN" |or path |
|00001db0| 3d 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |= empty |then exi|
|00001dc0| 74 20 74 6f 20 68 79 70 | 65 72 63 61 72 64 0d 64 |t to hyp|ercard.d|
|00001dd0| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00001de0| 6f 66 20 70 61 74 68 0d | 72 65 70 65 61 74 20 75 |of path.|repeat u|
|00001df0| 6e 74 69 6c 20 6c 43 68 | 61 72 20 3d 20 22 79 65 |ntil lCh|ar = "ye|
|00001e00| 73 22 0d 69 66 20 6c 61 | 73 74 20 63 68 61 72 20 |s".if la|st char |
|00001e10| 6f 66 20 70 61 74 68 20 | 3d 20 22 3a 22 20 74 68 |of path |= ":" th|
|00001e20| 65 6e 20 70 75 74 20 22 | 79 65 73 22 20 69 6e 74 |en put "|yes" int|
|00001e30| 6f 20 6c 63 68 61 72 0d | 65 6c 73 65 20 64 65 6c |o lchar.|else del|
|00001e40| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00001e50| 20 70 61 74 68 0d 65 6e | 64 20 72 65 70 65 61 74 | path.en|d repeat|
|00001e60| 0d 70 75 74 20 70 61 74 | 68 20 69 6e 74 6f 20 6c |.put pat|h into l|
|00001e70| 69 6e 65 20 70 72 65 66 | 73 4c 69 6e 65 20 6f 66 |ine pref|sLine of|
|00001e80| 20 74 6b 50 72 65 66 73 | 0d 70 72 65 66 53 65 74 | tkPrefs|.prefSet|
|00001e90| 0d 65 6e 64 20 67 65 74 | 46 69 6c 65 4c 6f 63 0d |.end get|FileLoc.|
|00001ea0| 0d 6f 6e 20 66 6d 53 65 | 74 55 70 0d 67 6c 6f 62 |.on fmSe|tUp.glob|
|00001eb0| 61 6c 20 74 6b 50 72 65 | 66 73 0d 62 65 65 70 0d |al tkPre|fs.beep.|
|00001ec0| 61 6e 73 77 65 72 20 66 | 69 6c 65 20 22 57 68 65 |answer f|ile "Whe|
|00001ed0| 72 65 20 69 73 20 46 69 | 6c 65 4d 61 6b 65 72 3f |re is Fi|leMaker?|
|00001ee0| 22 20 6f 66 20 74 79 70 | 65 20 41 50 50 4c 0d 70 |" of typ|e APPL.p|
|00001ef0| 75 74 20 69 74 20 69 6e | 74 6f 20 66 6d 50 61 74 |ut it in|to fmPat|
|00001f00| 68 0d 69 66 20 66 6d 50 | 61 74 68 20 3d 20 65 6d |h.if fmP|ath = em|
|00001f10| 70 74 79 20 74 68 65 6e | 20 65 78 69 74 20 66 6d |pty then| exit fm|
|00001f20| 53 65 74 55 70 0d 70 75 | 74 20 66 6d 50 61 74 68 |SetUp.pu|t fmPath|
|00001f30| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 31 20 6f 66 20 | into li|ne 1 of |
|00001f40| 74 6b 50 72 65 66 73 0d | 70 72 65 66 53 65 74 0d |tkPrefs.|prefSet.|
|00001f50| 65 6e 64 20 66 6d 53 65 | 74 55 70 0d 0d 6f 6e 20 |end fmSe|tUp..on |
|00001f60| 78 6c 53 65 74 55 70 0d | 67 6c 6f 62 61 6c 20 74 |xlSetUp.|global t|
|00001f70| 6b 50 72 65 66 73 0d 62 | 65 65 70 0d 61 6e 73 77 |kPrefs.b|eep.answ|
|00001f80| 65 72 20 66 69 6c 65 20 | 22 57 68 65 72 65 20 69 |er file |"Where i|
|00001f90| 73 20 79 6f 75 72 20 53 | 70 72 65 61 64 73 68 65 |s your S|preadshe|
|00001fa0| 65 74 20 6f 72 20 57 6f | 72 64 20 50 72 6f 63 65 |et or Wo|rd Proce|
|00001fb0| 73 73 6f 72 3f 22 20 6f | 66 20 74 79 70 65 20 41 |ssor?" o|f type A|
|00001fc0| 50 50 4c 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |PPL.put |it into |
|00001fd0| 61 70 70 4e 61 6d 65 0d | 69 66 20 61 70 70 4e 61 |appName.|if appNa|
|00001fe0| 6d 65 20 3d 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |me = emp|ty then |
|00001ff0| 65 78 69 74 20 78 6c 53 | 65 74 55 70 0d 70 75 74 |exit xlS|etUp.put|
|00002000| 20 61 70 70 4e 61 6d 65 | 20 69 6e 74 6f 20 6c 69 | appName| into li|
|00002010| 6e 65 20 32 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |ne 2 of |tkPrefs.|
|00002020| 70 75 74 20 74 68 65 20 | 6c 65 6e 67 74 68 20 6f |put the |length o|
|00002030| 66 20 28 61 70 70 6e 61 | 6d 65 29 20 69 6e 74 6f |f (appna|me) into|
|00002040| 20 6d 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 | m.repea|t with x|
|00002050| 3d 31 20 74 6f 20 6d 0d | 69 66 20 63 68 61 72 20 |=1 to m.|if char |
|00002060| 78 20 6f 66 20 61 70 70 | 4e 61 6d 65 20 3d 20 22 |x of app|Name = "|
|00002070| 3a 22 20 74 68 65 6e 0d | 70 75 74 20 22 2c 22 20 |:" then.|put "," |
|00002080| 61 66 74 65 72 20 63 68 | 61 72 20 78 20 6f 66 20 |after ch|ar x of |
|00002090| 61 70 70 4e 61 6d 65 0d | 61 64 64 20 31 20 74 6f |appName.|add 1 to|
|000020a0| 20 6d 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 | m.end i|f.end re|
|000020b0| 70 65 61 74 0d 70 75 74 | 20 6c 61 73 74 20 69 74 |peat.put| last it|
|000020c0| 65 6d 20 6f 66 20 61 70 | 70 4e 61 6d 65 20 69 6e |em of ap|pName in|
|000020d0| 74 6f 20 6c 69 6e 65 20 | 34 20 6f 66 20 74 6b 50 |to line |4 of tkP|
|000020e0| 72 65 66 73 0d 70 72 65 | 66 53 65 74 0d 65 6e 64 |refs.pre|fSet.end|
|000020f0| 20 78 6c 53 65 74 55 70 | 0d 0d 6f 6e 20 73 65 6c | xlSetUp|..on sel|
|00002100| 65 63 74 57 61 72 6e 69 | 6e 67 0d 62 65 65 70 20 |ectWarni|ng.beep |
|00002110| 6f 6e 65 0d 73 68 6f 77 | 44 69 61 6c 6f 67 20 32 |one.show|Dialog 2|
|00002120| 2c 32 39 35 31 2c 22 59 | 6f 75 20 6d 75 73 74 20 |,2951,"Y|ou must |
|00002130| 73 65 6c 65 63 74 20 61 | 20 6c 69 6e 65 20 66 69 |select a| line fi|
|00002140| 72 73 74 21 22 2c 22 22 | 2c 22 22 0d 65 6e 64 20 |rst!",""|,"".end |
|00002150| 73 65 6c 65 63 74 57 61 | 72 6e 69 6e 67 0d 0d 6f |selectWa|rning..o|
|00002160| 6e 20 6e 61 6d 65 46 4d | 52 65 70 6f 72 74 0d 67 |n nameFM|Report.g|
|00002170| 6c 6f 62 61 6c 20 74 6f | 64 61 79 2c 6c 6e 73 2c |lobal to|day,lns,|
|00002180| 70 2c 72 65 70 6f 72 74 | 4e 61 6d 65 2c 74 6b 50 |p,report|Name,tkP|
|00002190| 72 65 66 73 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |refs.set| cursor |
|000021a0| 74 6f 20 77 61 74 63 68 | 0d 69 66 20 6c 69 6e 65 |to watch|.if line|
|000021b0| 20 33 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 | 3 of tk|Prefs = |
|000021c0| 65 6d 70 74 79 20 74 68 | 65 6e 20 73 65 74 55 70 |empty th|en setUp|
|000021d0| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 74 6b |.if line| 1 of tk|
|000021e0| 50 72 65 66 73 20 3d 20 | 65 6d 70 74 79 20 74 68 |Prefs = |empty th|
|000021f0| 65 6e 20 66 6d 53 65 74 | 55 70 0d 69 66 20 6c 6e |en fmSet|Up.if ln|
|00002200| 73 20 3e 20 33 36 20 74 | 68 65 6e 20 66 61 74 52 |s > 36 t|hen fatR|
|00002210| 65 70 6f 72 74 0d 65 6c | 73 65 0d 73 68 6f 77 44 |eport.el|se.showD|
|00002220| 69 61 6c 6f 67 20 32 2c | 35 36 33 39 2c 22 50 6c |ialog 2,|5639,"Pl|
|00002230| 65 61 73 65 20 6e 61 6d | 65 20 74 68 69 73 20 72 |ease nam|e this r|
|00002240| 65 70 6f 72 74 2e 22 2c | 22 22 2c 72 65 70 6f 72 |eport.",|"",repor|
|00002250| 74 4e 61 6d 65 0d 69 66 | 20 74 68 65 20 72 65 73 |tName.if| the res|
|00002260| 75 6c 74 20 3d 20 65 6d | 70 74 79 20 74 68 65 6e |ult = em|pty then|
|00002270| 20 65 78 69 74 20 6e 61 | 6d 65 46 4d 52 65 70 6f | exit na|meFMRepo|
|00002280| 72 74 0d 65 6c 73 65 0d | 70 75 74 20 74 68 65 20 |rt.else.|put the |
|00002290| 72 65 73 75 6c 74 20 69 | 6e 74 6f 20 72 65 70 6f |result i|nto repo|
|000022a0| 72 74 6e 61 6d 65 0d 64 | 65 6c 65 74 65 20 6c 61 |rtname.d|elete la|
|000022b0| 73 74 20 63 68 61 72 20 | 6f 66 20 72 65 70 6f 72 |st char |of repor|
|000022c0| 74 6e 61 6d 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |tname.en|d if.end|
|000022d0| 20 69 66 0d 66 6d 52 65 | 70 6f 72 74 0d 65 6e 64 | if.fmRe|port.end|
|000022e0| 20 6e 61 6d 65 46 4d 52 | 65 70 6f 72 74 0d 0d 6f | nameFMR|eport..o|
|000022f0| 6e 20 66 6d 52 65 70 6f | 72 74 0d 67 6c 6f 62 61 |n fmRepo|rt.globa|
|00002300| 6c 20 74 6f 64 61 79 2c | 6c 6e 73 2c 70 2c 72 65 |l today,|lns,p,re|
|00002310| 70 6f 72 74 4e 61 6d 65 | 2c 74 6b 50 72 65 66 73 |portName|,tkPrefs|
|00002320| 2c 72 65 70 6f 72 74 46 | 69 6c 65 0d 73 65 74 20 |,reportF|ile.set |
|00002330| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00002340| 70 75 74 20 6c 69 6e 65 | 20 33 20 6f 66 20 74 6b |put line| 3 of tk|
|00002350| 50 72 65 66 73 20 26 20 | 72 65 70 6f 72 74 4e 61 |Prefs & |reportNa|
|00002360| 6d 65 20 69 6e 74 6f 20 | 72 65 70 6f 72 74 46 69 |me into |reportFi|
|00002370| 6c 65 0d 63 68 65 63 6b | 52 65 70 6c 61 63 65 0d |le.check|Replace.|
|00002380| 6f 70 65 6e 20 66 69 6c | 65 20 72 65 70 6f 72 74 |open fil|e report|
|00002390| 46 69 6c 65 0d 69 66 20 | 74 68 65 20 72 65 73 75 |File.if |the resu|
|000023a0| 6c 74 20 ad 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |lt . emp|ty then.|
|000023b0| 73 65 74 75 70 0d 70 75 | 74 20 6c 69 6e 65 20 33 |setup.pu|t line 3|
|000023c0| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 26 20 72 65 | of tkPr|efs & re|
|000023d0| 70 6f 72 74 4e 61 6d 65 | 20 69 6e 74 6f 20 72 65 |portName| into re|
|000023e0| 70 6f 72 74 46 69 6c 65 | 0d 63 68 65 63 6b 52 65 |portFile|.checkRe|
|000023f0| 70 6c 61 63 65 0d 6f 70 | 65 6e 20 66 69 6c 65 20 |place.op|en file |
|00002400| 72 65 70 6f 72 74 46 69 | 6c 65 0d 65 6e 64 20 69 |reportFi|le.end i|
|00002410| 66 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |f.set cu|rsor to |
|00002420| 77 61 74 63 68 0d 69 66 | 20 6c 69 6e 65 20 39 20 |watch.if| line 9 |
|00002430| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 22 74 72 |of tkPre|fs = "tr|
|00002440| 75 65 22 20 74 68 65 6e | 0d 70 75 74 20 6c 69 6e |ue" then|.put lin|
|00002450| 65 20 31 31 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |e 11 of |tkPrefs |
|00002460| 26 20 74 61 62 20 26 20 | 66 6c 64 20 69 64 20 31 |& tab & |fld id 1|
|00002470| 30 20 26 20 74 61 62 20 | 69 6e 74 6f 20 74 65 78 |0 & tab |into tex|
|00002480| 74 0d 65 6c 73 65 0d 70 | 75 74 20 74 61 62 20 26 |t.else.p|ut tab &|
|00002490| 20 74 61 62 20 69 6e 74 | 6f 20 74 65 78 74 0d 65 | tab int|o text.e|
|000024a0| 6e 64 20 69 66 0d 70 75 | 74 20 66 6c 64 20 69 64 |nd if.pu|t fld id|
|000024b0| 20 34 34 20 26 20 74 61 | 62 20 26 20 66 6c 64 20 | 44 & ta|b & fld |
|000024c0| 69 64 20 38 20 26 20 74 | 61 62 20 26 20 66 6c 64 |id 8 & t|ab & fld|
|000024d0| 20 69 64 20 39 20 26 20 | 74 61 62 20 26 20 74 6f | id 9 & |tab & to|
|000024e0| 64 61 79 20 c2 0d 26 20 | 74 61 62 20 61 66 74 65 |day ..& |tab afte|
|000024f0| 72 20 74 65 78 74 0d 72 | 65 70 65 61 74 20 77 69 |r text.r|epeat wi|
|00002500| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 6c 6e 73 0d |th x = 1| to lns.|
|00002510| 70 75 74 20 6c 69 6e 65 | 20 78 20 6f 66 20 66 6c |put line| x of fl|
|00002520| 64 20 69 64 20 32 20 26 | 20 70 20 61 66 74 65 72 |d id 2 &| p after|
|00002530| 20 74 65 78 74 0d 6e 65 | 78 74 20 72 65 70 65 61 | text.ne|xt repea|
|00002540| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 75 74 |t.end re|peat.put|
|00002550| 20 74 61 62 20 61 66 74 | 65 72 20 74 65 78 74 0d | tab aft|er text.|
|00002560| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00002570| 31 20 74 6f 20 6c 6e 73 | 0d 70 75 74 20 6c 69 6e |1 to lns|.put lin|
|00002580| 65 20 78 20 6f 66 20 66 | 6c 64 20 69 64 20 33 20 |e x of f|ld id 3 |
|00002590| 26 20 70 20 61 66 74 65 | 72 20 74 65 78 74 0d 6e |& p afte|r text.n|
|000025a0| 65 78 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |ext repe|at.end r|
|000025b0| 65 70 65 61 74 0d 70 75 | 74 20 74 61 62 20 61 66 |epeat.pu|t tab af|
|000025c0| 74 65 72 20 74 65 78 74 | 0d 72 65 70 65 61 74 20 |ter text|.repeat |
|000025d0| 77 69 74 68 20 78 20 3d | 20 31 20 74 6f 20 6c 6e |with x =| 1 to ln|
|000025e0| 73 0d 70 75 74 20 6c 69 | 6e 65 20 78 20 6f 66 20 |s.put li|ne x of |
|000025f0| 66 6c 64 20 69 64 20 34 | 20 26 20 70 20 61 66 74 |fld id 4| & p aft|
|00002600| 65 72 20 74 65 78 74 0d | 6e 65 78 74 20 72 65 70 |er text.|next rep|
|00002610| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |eat.end |repeat.p|
|00002620| 75 74 20 74 61 62 20 61 | 66 74 65 72 20 74 65 78 |ut tab a|fter tex|
|00002630| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |t.repeat| with x |
|00002640| 3d 20 31 20 74 6f 20 6c | 6e 73 0d 70 75 74 20 6c |= 1 to l|ns.put l|
|00002650| 69 6e 65 20 78 20 6f 66 | 20 66 6c 64 20 69 64 20 |ine x of| fld id |
|00002660| 36 20 26 20 70 20 61 66 | 74 65 72 20 74 65 78 74 |6 & p af|ter text|
|00002670| 0d 6e 65 78 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.next re|peat.end|
|00002680| 20 72 65 70 65 61 74 0d | 70 75 74 20 74 61 62 20 | repeat.|put tab |
|00002690| 61 66 74 65 72 20 74 65 | 78 74 0d 72 65 70 65 61 |after te|xt.repea|
|000026a0| 74 20 77 69 74 68 20 78 | 20 3d 20 31 20 74 6f 20 |t with x| = 1 to |
|000026b0| 6c 6e 73 0d 70 75 74 20 | 6c 69 6e 65 20 78 20 6f |lns.put |line x o|
|000026c0| 66 20 66 6c 64 20 69 64 | 20 35 20 26 20 70 20 61 |f fld id| 5 & p a|
|000026d0| 66 74 65 72 20 74 65 78 | 74 0d 6e 65 78 74 20 72 |fter tex|t.next r|
|000026e0| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|000026f0| 0d 77 72 69 74 65 20 74 | 65 78 74 20 74 6f 20 66 |.write t|ext to f|
|00002700| 69 6c 65 20 72 65 70 6f | 72 74 46 69 6c 65 0d 63 |ile repo|rtFile.c|
|00002710| 6c 6f 73 65 20 66 69 6c | 65 20 72 65 70 6f 72 74 |lose fil|e report|
|00002720| 46 69 6c 65 0d 73 68 6f | 77 44 69 61 6c 6f 67 20 |File.sho|wDialog |
|00002730| 31 2c 32 36 31 39 2c 22 | 4f 70 65 6e 20 46 69 6c |1,2619,"|Open Fil|
|00002740| 65 4d 61 6b 65 72 20 52 | 65 70 6f 72 74 3f 22 2c |eMaker R|eport?",|
|00002750| 54 52 55 45 0d 69 66 20 | 74 68 65 20 72 65 73 75 |TRUE.if |the resu|
|00002760| 6c 74 20 3d 20 34 20 74 | 68 65 6e 20 65 78 69 74 |lt = 4 t|hen exit|
|00002770| 20 66 6d 52 65 70 6f 72 | 74 0d 65 6c 73 65 0d 69 | fmRepor|t.else.i|
|00002780| 66 20 6c 69 6e 65 20 31 | 35 20 6f 66 20 74 6b 50 |f line 1|5 of tkP|
|00002790| 72 65 66 73 20 3d 20 65 | 6d 70 74 79 20 6f 72 20 |refs = e|mpty or |
|000027a0| 74 68 65 72 65 20 69 73 | 20 6e 6f 74 20 61 20 66 |there is| not a f|
|000027b0| 69 6c 65 20 6c 69 6e 65 | 20 31 35 20 6f 66 20 74 |ile line| 15 of t|
|000027c0| 6b 50 72 65 66 73 20 74 | 68 65 6e 20 66 69 6e 64 |kPrefs t|hen find|
|000027d0| 54 69 6d 65 52 65 70 6f | 72 74 0d 65 6e 64 20 69 |TimeRepo|rt.end i|
|000027e0| 66 0d 69 66 20 6c 69 6e | 65 20 31 20 6f 66 20 74 |f.if lin|e 1 of t|
|000027f0| 6b 50 72 65 66 73 20 ad | 20 65 6d 70 74 79 20 74 |kPrefs .| empty t|
|00002800| 68 65 6e 20 6f 70 65 6e | 20 6c 69 6e 65 20 31 35 |hen open| line 15|
|00002810| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 77 69 74 68 | of tkPr|efs with|
|00002820| 20 c2 0d 6c 69 6e 65 20 | 31 20 6f 66 20 74 6b 50 | ..line |1 of tkP|
|00002830| 72 65 66 73 0d 65 6e 64 | 20 66 6d 52 65 70 6f 72 |refs.end| fmRepor|
|00002840| 74 0d 0d 6f 6e 20 66 69 | 6e 64 54 69 6d 65 52 65 |t..on fi|ndTimeRe|
|00002850| 70 6f 72 74 0d 67 6c 6f | 62 61 6c 20 74 6b 50 72 |port.glo|bal tkPr|
|00002860| 65 66 73 0d 61 6e 73 77 | 65 72 20 66 69 6c 65 20 |efs.answ|er file |
|00002870| 22 57 68 65 72 65 20 69 | 73 20 74 68 65 20 d2 54 |"Where i|s the .T|
|00002880| 69 6d 65 20 52 65 70 6f | 72 74 d3 20 66 69 6c 65 |ime Repo|rt. file|
|00002890| 3f 22 20 6f 66 20 74 79 | 70 65 20 22 46 4d 4b 24 |?" of ty|pe "FMK$|
|000028a0| 22 0d 69 66 20 69 74 20 | 3d 20 65 6d 70 74 79 20 |".if it |= empty |
|000028b0| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 68 79 70 |then exi|t to hyp|
|000028c0| 65 72 63 61 72 64 0d 65 | 6c 73 65 20 70 75 74 20 |ercard.e|lse put |
|000028d0| 69 74 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 35 20 |it into |line 15 |
|000028e0| 6f 66 20 74 6b 50 72 65 | 66 73 0d 70 72 65 66 53 |of tkPre|fs.prefS|
|000028f0| 65 74 0d 65 6e 64 20 66 | 69 6e 64 54 69 6d 65 52 |et.end f|indTimeR|
|00002900| 65 70 6f 72 74 0d 0d 6f | 6e 20 6e 61 6d 65 58 4c |eport..o|n nameXL|
|00002910| 52 65 70 6f 72 74 0d 67 | 6c 6f 62 61 6c 20 74 6f |Report.g|lobal to|
|00002920| 64 61 79 2c 72 65 70 6f | 72 74 4e 61 6d 65 2c 6c |day,repo|rtName,l|
|00002930| 6e 73 2c 74 6b 50 72 65 | 66 73 0d 69 66 20 6c 69 |ns,tkPre|fs.if li|
|00002940| 6e 65 20 33 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |ne 3 of |tkPrefs |
|00002950| 3d 20 65 6d 70 74 79 20 | 74 68 65 6e 20 73 65 74 |= empty |then set|
|00002960| 55 70 0d 69 66 20 6c 69 | 6e 65 20 32 20 6f 66 20 |Up.if li|ne 2 of |
|00002970| 74 6b 50 72 65 66 73 20 | 3d 20 65 6d 70 74 79 20 |tkPrefs |= empty |
|00002980| 74 68 65 6e 20 78 6c 53 | 65 74 55 70 0d 73 68 6f |then xlS|etUp.sho|
|00002990| 77 44 69 61 6c 6f 67 20 | 32 2c 35 36 33 39 2c 22 |wDialog |2,5639,"|
|000029a0| 50 6c 65 61 73 65 20 6e | 61 6d 65 20 74 68 69 73 |Please n|ame this|
|000029b0| 20 72 65 70 6f 72 74 2e | 22 2c 22 22 2c 72 65 70 | report.|","",rep|
|000029c0| 6f 72 74 4e 61 6d 65 0d | 69 66 20 74 68 65 20 72 |ortName.|if the r|
|000029d0| 65 73 75 6c 74 20 3d 20 | 65 6d 70 74 79 20 74 68 |esult = |empty th|
|000029e0| 65 6e 20 65 78 69 74 20 | 6e 61 6d 65 58 4c 52 65 |en exit |nameXLRe|
|000029f0| 70 6f 72 74 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |port.set| cursor |
|00002a00| 74 6f 20 77 61 74 63 68 | 0d 70 75 74 20 6c 69 6e |to watch|.put lin|
|00002a10| 65 20 31 20 6f 66 20 74 | 68 65 20 72 65 73 75 6c |e 1 of t|he resul|
|00002a20| 74 20 69 6e 74 6f 20 72 | 65 70 6f 72 74 4e 61 6d |t into r|eportNam|
|00002a30| 65 0d 78 6c 52 65 70 6f | 72 74 0d 65 6e 64 20 6e |e.xlRepo|rt.end n|
|00002a40| 61 6d 65 58 4c 52 65 70 | 6f 72 74 0d 0d 6f 6e 20 |ameXLRep|ort..on |
|00002a50| 78 6c 52 65 70 6f 72 74 | 0d 67 6c 6f 62 61 6c 20 |xlReport|.global |
|00002a60| 74 6f 64 61 79 2c 72 65 | 70 6f 72 74 4e 61 6d 65 |today,re|portName|
|00002a70| 2c 6c 6e 73 2c 74 6b 50 | 72 65 66 73 2c 72 65 70 |,lns,tkP|refs,rep|
|00002a80| 6f 72 74 46 69 6c 65 0d | 73 65 74 20 63 75 72 73 |ortFile.|set curs|
|00002a90| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 70 75 74 20 |or to wa|tch.put |
|00002aa0| 6c 69 6e 65 20 33 20 6f | 66 20 74 6b 50 72 65 66 |line 3 o|f tkPref|
|00002ab0| 73 20 26 20 72 65 70 6f | 72 74 4e 61 6d 65 20 69 |s & repo|rtName i|
|00002ac0| 6e 74 6f 20 72 65 70 6f | 72 74 46 69 6c 65 0d 63 |nto repo|rtFile.c|
|00002ad0| 68 65 63 6b 52 65 70 6c | 61 63 65 0d 6f 70 65 6e |heckRepl|ace.open|
|00002ae0| 20 66 69 6c 65 20 72 65 | 70 6f 72 74 46 69 6c 65 | file re|portFile|
|00002af0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 ad |.if the |result .|
|00002b00| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 73 65 74 75 | empty t|hen.setu|
|00002b10| 70 0d 70 75 74 20 6c 69 | 6e 65 20 33 20 6f 66 20 |p.put li|ne 3 of |
|00002b20| 74 6b 50 72 65 66 73 20 | 26 20 72 65 70 6f 72 74 |tkPrefs |& report|
|00002b30| 4e 61 6d 65 20 69 6e 74 | 6f 20 72 65 70 6f 72 74 |Name int|o report|
|00002b40| 46 69 6c 65 0d 63 68 65 | 63 6b 52 65 70 6c 61 63 |File.che|ckReplac|
|00002b50| 65 0d 6f 70 65 6e 20 66 | 69 6c 65 20 72 65 70 6f |e.open f|ile repo|
|00002b60| 72 74 46 69 6c 65 0d 65 | 6e 64 20 69 66 0d 73 65 |rtFile.e|nd if.se|
|00002b70| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00002b80| 68 0d 70 75 74 20 74 61 | 62 20 26 20 74 61 62 20 |h.put ta|b & tab |
|00002b90| 26 20 22 54 49 4d 45 20 | 52 45 50 4f 52 54 22 20 |& "TIME |REPORT" |
|00002ba0| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|00002bb0| 6e 20 26 20 74 61 62 20 | 26 20 74 61 62 20 26 20 |n & tab |& tab & |
|00002bc0| 74 6f 64 61 79 20 26 20 | 72 65 74 75 72 6e 20 26 |today & |return &|
|00002bd0| 20 66 6c 64 20 69 64 20 | 34 34 20 c2 0d 26 20 74 | fld id |44 ..& t|
|00002be0| 61 62 20 26 20 74 61 62 | 20 26 20 66 6c 64 20 69 |ab & tab| & fld i|
|00002bf0| 64 20 38 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |d 8 & re|turn & r|
|00002c00| 65 74 75 72 6e 20 26 20 | 74 61 62 20 26 20 22 4a |eturn & |tab & "J|
|00002c10| 6f 62 20 23 3a 22 20 26 | 20 66 6c 64 20 69 64 20 |ob #:" &| fld id |
|00002c20| 39 20 26 20 74 61 62 c2 | 0d 26 20 74 61 62 20 69 |9 & tab.|.& tab i|
|00002c30| 6e 74 6f 20 74 65 78 74 | 0d 69 66 20 6c 69 6e 65 |nto text|.if line|
|00002c40| 20 39 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 | 9 of tk|Prefs = |
|00002c50| 22 74 72 75 65 22 20 74 | 68 65 6e 0d 70 75 74 20 |"true" t|hen.put |
|00002c60| 6c 69 6e 65 20 31 31 20 | 6f 66 20 74 6b 50 72 65 |line 11 |of tkPre|
|00002c70| 66 73 20 26 20 74 61 62 | 20 26 20 66 6c 64 20 69 |fs & tab| & fld i|
|00002c80| 64 20 31 30 20 61 66 74 | 65 72 20 74 65 78 74 0d |d 10 aft|er text.|
|00002c90| 65 6e 64 20 69 66 0d 70 | 75 74 20 72 65 74 75 72 |end if.p|ut retur|
|00002ca0| 6e 20 26 20 72 65 74 75 | 72 6e 20 26 20 72 65 74 |n & retu|rn & ret|
|00002cb0| 75 72 6e 20 61 66 74 65 | 72 20 74 65 78 74 0d 70 |urn afte|r text.p|
|00002cc0| 75 74 20 22 44 41 54 45 | 22 20 26 20 74 61 62 20 |ut "DATE|" & tab |
|00002cd0| 26 20 22 41 43 54 49 56 | 49 54 59 22 20 26 20 74 |& "ACTIV|ITY" & t|
|00002ce0| 61 62 20 26 20 22 4e 4f | 54 45 53 22 20 26 20 74 |ab & "NO|TES" & t|
|00002cf0| 61 62 20 26 20 74 61 62 | 20 26 20 22 43 48 41 52 |ab & tab| & "CHAR|
|00002d00| 47 45 53 22 20 26 20 74 | 61 62 20 26 20 22 48 4f |GES" & t|ab & "HO|
|00002d10| 55 52 53 22 20 26 c2 0d | 72 65 74 75 72 6e 20 61 |URS" &..|return a|
|00002d20| 66 74 65 72 20 74 65 78 | 74 0d 72 65 70 65 61 74 |fter tex|t.repeat|
|00002d30| 20 77 69 74 68 20 78 20 | 3d 20 31 20 74 6f 20 6c | with x |= 1 to l|
|00002d40| 6e 73 0d 70 75 74 20 6c | 69 6e 65 20 78 20 6f 66 |ns.put l|ine x of|
|00002d50| 20 66 6c 64 20 69 64 20 | 32 20 26 20 74 61 62 20 | fld id |2 & tab |
|00002d60| 26 20 6c 69 6e 65 20 78 | 20 6f 66 20 66 6c 64 20 |& line x| of fld |
|00002d70| 69 64 20 33 20 26 20 74 | 61 62 20 26 c2 0d 6c 69 |id 3 & t|ab &..li|
|00002d80| 6e 65 20 78 20 6f 66 20 | 66 6c 64 20 69 64 20 34 |ne x of |fld id 4|
|00002d90| 20 26 20 74 61 62 20 26 | 20 74 61 62 20 26 20 6c | & tab &| tab & l|
|00002da0| 69 6e 65 20 78 20 6f 66 | 20 66 6c 64 20 69 64 20 |ine x of| fld id |
|00002db0| 35 20 26 20 74 61 62 20 | 26 20 6c 69 6e 65 20 78 |5 & tab |& line x|
|00002dc0| 20 6f 66 20 66 6c 64 20 | 69 64 20 36 20 26 c2 0d | of fld |id 6 &..|
|00002dd0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 65 78 |return a|fter tex|
|00002de0| 74 0d 6e 65 78 74 20 72 | 65 70 65 61 74 0d 65 6e |t.next r|epeat.en|
|00002df0| 64 20 72 65 70 65 61 74 | 0d 77 72 69 74 65 20 74 |d repeat|.write t|
|00002e00| 65 78 74 20 74 6f 20 66 | 69 6c 65 20 72 65 70 6f |ext to f|ile repo|
|00002e10| 72 74 46 69 6c 65 0d 63 | 6c 6f 73 65 20 66 69 6c |rtFile.c|lose fil|
|00002e20| 65 20 72 65 70 6f 72 74 | 46 69 6c 65 0d 73 68 6f |e report|File.sho|
|00002e30| 77 44 69 61 6c 6f 67 20 | 31 2c 32 36 31 39 2c 22 |wDialog |1,2619,"|
|00002e40| 4f 70 65 6e 20 72 65 70 | 6f 72 74 20 77 69 74 68 |Open rep|ort with|
|00002e50| 20 22 20 26 20 6c 69 6e | 65 20 34 20 6f 66 20 74 | " & lin|e 4 of t|
|00002e60| 6b 50 72 65 66 73 20 26 | 20 22 20 6e 6f 77 3f 22 |kPrefs &| " now?"|
|00002e70| 2c 54 52 55 45 0d 69 66 | 20 74 68 65 20 72 65 73 |,TRUE.if| the res|
|00002e80| 75 6c 74 20 3d 20 34 20 | 74 68 65 6e 20 65 78 69 |ult = 4 |then exi|
|00002e90| 74 20 78 6c 52 65 70 6f | 72 74 0d 65 6c 73 65 0d |t xlRepo|rt.else.|
|00002ea0| 6f 70 65 6e 20 72 65 70 | 6f 72 74 46 69 6c 65 20 |open rep|ortFile |
|00002eb0| 77 69 74 68 20 6c 69 6e | 65 20 32 20 6f 66 20 74 |with lin|e 2 of t|
|00002ec0| 6b 50 72 65 66 73 0d 65 | 6e 64 20 69 66 0d 65 6e |kPrefs.e|nd if.en|
|00002ed0| 64 20 78 6c 52 65 70 6f | 72 74 0d 0d 6f 6e 20 63 |d xlRepo|rt..on c|
|00002ee0| 68 65 63 6b 52 65 70 6c | 61 63 65 0d 67 6c 6f 62 |heckRepl|ace.glob|
|00002ef0| 61 6c 20 72 65 70 6f 72 | 74 46 69 6c 65 2c 72 65 |al repor|tFile,re|
|00002f00| 70 6f 72 74 4e 61 6d 65 | 0d 69 66 20 74 68 65 72 |portName|.if ther|
|00002f10| 65 20 69 73 20 61 20 66 | 69 6c 65 20 72 65 70 6f |e is a f|ile repo|
|00002f20| 72 74 46 69 6c 65 20 74 | 68 65 6e 0d 62 65 65 70 |rtFile t|hen.beep|
|00002f30| 0d 73 68 6f 77 44 69 61 | 6c 6f 67 20 31 2c 34 30 |.showDia|log 1,40|
|00002f40| 35 30 2c 22 59 6f 75 20 | 61 6c 72 65 61 64 79 20 |50,"You |already |
|00002f50| 68 61 76 65 20 61 20 72 | 65 70 6f 72 74 20 6e 61 |have a r|eport na|
|00002f60| 6d 65 64 20 d2 22 20 26 | 20 c2 0d 72 65 70 6f 72 |med ." &| ..repor|
|00002f70| 74 6e 61 6d 65 20 26 20 | 22 d3 2e 22 20 26 20 72 |tname & |".." & r|
|00002f80| 65 74 75 72 6e 20 26 20 | 72 65 74 75 72 6e 20 26 |eturn & |return &|
|00002f90| 20 22 52 65 70 6c 61 63 | 65 20 69 74 20 77 69 74 | "Replac|e it wit|
|00002fa0| 68 20 61 20 6e 65 77 20 | 6f 6e 65 3f 22 2c 54 52 |h a new |one?",TR|
|00002fb0| 55 45 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |UE.if th|e result|
|00002fc0| 20 3d 20 31 20 74 68 65 | 6e 20 65 78 69 74 20 74 | = 1 the|n exit t|
|00002fd0| 6f 20 68 79 70 65 72 63 | 61 72 64 0d 65 6e 64 20 |o hyperc|ard.end |
|00002fe0| 69 66 0d 65 6e 64 20 63 | 68 65 63 6b 52 65 70 6c |if.end c|heckRepl|
|00002ff0| 61 63 65 0d 0d 6f 6e 20 | 63 68 65 63 6b 72 65 73 |ace..on |checkres|
|00003000| 65 74 0d 67 6c 6f 62 61 | 6c 20 63 68 65 63 6b 73 |et.globa|l checks|
|00003010| 2c 74 6b 50 72 65 66 73 | 0d 73 68 6f 77 44 69 61 |,tkPrefs|.showDia|
|00003020| 6c 6f 67 20 32 2c 35 38 | 31 37 2c 22 53 65 6c 65 |log 2,58|17,"Sele|
|00003030| 63 74 20 69 74 65 6d 28 | 73 29 20 74 6f 20 72 65 |ct item(|s) to re|
|00003040| 73 65 74 2e 22 2c 22 22 | 2c 22 22 2c 22 46 41 4c |set.",""|,"","FAL|
|00003050| 53 45 2c 46 41 4c 53 45 | 2c 46 41 4c 53 45 22 0d |SE,FALSE|,FALSE".|
|00003060| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3d 20 |if the r|esult = |
|00003070| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00003080| 63 68 65 63 6b 72 65 73 | 65 74 0d 70 75 74 20 74 |checkres|et.put t|
|00003090| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 63 |he resul|t into c|
|000030a0| 68 65 63 6b 73 0d 69 66 | 20 69 74 65 6d 20 31 20 |hecks.if| item 1 |
|000030b0| 6f 66 20 66 69 72 73 74 | 20 6c 69 6e 65 20 6f 66 |of first| line of|
|000030c0| 20 63 68 65 63 6b 73 20 | 3d 20 74 72 75 65 20 74 | checks |= true t|
|000030d0| 68 65 6e 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |hen.put |empty in|
|000030e0| 74 6f 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 6b 50 |to line |1 of tkP|
|000030f0| 72 65 66 73 0d 66 6d 53 | 65 74 55 70 0d 65 6e 64 |refs.fmS|etUp.end|
|00003100| 20 69 66 0d 69 66 20 69 | 74 65 6d 20 32 20 6f 66 | if.if i|tem 2 of|
|00003110| 20 66 69 72 73 74 20 6c | 69 6e 65 20 6f 66 20 63 | first l|ine of c|
|00003120| 68 65 63 6b 73 20 3d 20 | 74 72 75 65 20 74 68 65 |hecks = |true the|
|00003130| 6e 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n.put em|pty into|
|00003140| 20 6c 69 6e 65 20 32 20 | 6f 66 20 74 6b 50 72 65 | line 2 |of tkPre|
|00003150| 66 73 0d 78 6c 73 65 74 | 55 70 0d 65 6e 64 20 69 |fs.xlset|Up.end i|
|00003160| 66 0d 69 66 20 69 74 65 | 6d 20 33 20 6f 66 20 66 |f.if ite|m 3 of f|
|00003170| 69 72 73 74 20 6c 69 6e | 65 20 6f 66 20 63 68 65 |irst lin|e of che|
|00003180| 63 6b 73 20 3d 20 74 72 | 75 65 20 74 68 65 6e 0d |cks = tr|ue then.|
|00003190| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6c |put empt|y into l|
|000031a0| 69 6e 65 20 33 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 3 of| tkPrefs|
|000031b0| 0d 73 65 74 55 70 0d 65 | 6e 64 20 69 66 0d 70 72 |.setUp.e|nd if.pr|
|000031c0| 65 66 53 65 74 0d 65 6e | 64 20 63 68 65 63 6b 72 |efSet.en|d checkr|
|000031d0| 65 73 65 74 0d 0d 6f 6e | 20 73 73 52 70 74 0d 67 |eset..on| ssRpt.g|
|000031e0| 6c 6f 62 61 6c 20 74 6f | 64 61 79 2c 70 2c 74 65 |lobal to|day,p,te|
|000031f0| 78 74 2c 72 65 70 6f 72 | 74 4e 61 6d 65 2c 6c 6e |xt,repor|tName,ln|
|00003200| 73 0d 70 75 74 20 66 6c | 64 20 69 64 20 34 34 20 |s.put fl|d id 44 |
|00003210| 26 20 22 2f 22 20 26 20 | 66 6c 64 20 69 64 20 37 |& "/" & |fld id 7|
|00003220| 20 26 20 22 20 45 78 70 | 6f 72 74 22 20 69 6e 74 | & " Exp|ort" int|
|00003230| 6f 20 72 65 70 6f 72 74 | 4e 61 6d 65 0d 70 75 74 |o report|Name.put|
|00003240| 20 74 68 65 20 64 61 74 | 65 20 69 6e 74 6f 20 74 | the dat|e into t|
|00003250| 6f 64 61 79 0d 70 75 74 | 20 6e 75 6d 62 65 72 20 |oday.put| number |
|00003260| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 66 6c 64 20 |of lines| in fld |
|00003270| 69 64 20 35 20 69 6e 74 | 6f 20 6c 6e 73 0d 6e 61 |id 5 int|o lns.na|
|00003280| 6d 65 58 4c 52 65 70 6f | 72 74 0d 65 6e 64 20 73 |meXLRepo|rt.end s|
|00003290| 73 52 70 74 0d 0d 6f 6e | 20 66 6c 6d 52 70 74 0d |sRpt..on| flmRpt.|
|000032a0| 67 6c 6f 62 61 6c 20 74 | 6f 64 61 79 2c 70 2c 6c |global t|oday,p,l|
|000032b0| 6e 73 2c 74 65 78 74 2c | 72 65 70 6f 72 74 4e 61 |ns,text,|reportNa|
|000032c0| 6d 65 0d 70 75 74 20 66 | 6c 64 20 69 64 20 34 34 |me.put f|ld id 44|
|000032d0| 20 26 20 22 2f 22 20 26 | 20 66 6c 64 20 69 64 20 | & "/" &| fld id |
|000032e0| 37 20 26 20 22 20 45 78 | 70 6f 72 74 22 20 69 6e |7 & " Ex|port" in|
|000032f0| 74 6f 20 72 65 70 6f 72 | 74 4e 61 6d 65 0d 70 75 |to repor|tName.pu|
|00003300| 74 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |t number| of line|
|00003310| 73 20 69 6e 20 66 6c 64 | 20 69 64 20 35 20 69 6e |s in fld| id 5 in|
|00003320| 74 6f 20 6c 6e 73 0d 70 | 75 74 20 74 68 65 20 64 |to lns.p|ut the d|
|00003330| 61 74 65 20 69 6e 74 6f | 20 74 6f 64 61 79 0d 70 |ate into| today.p|
|00003340| 75 74 20 74 68 65 20 6e | 75 6d 54 6f 43 68 61 72 |ut the n|umToChar|
|00003350| 20 6f 66 20 32 39 20 69 | 6e 74 6f 20 70 0d 6e 61 | of 29 i|nto p.na|
|00003360| 6d 65 46 4d 52 65 70 6f | 72 74 0d 65 6e 64 20 66 |meFMRepo|rt.end f|
|00003370| 6c 6d 52 70 74 0d 0d 6f | 6e 20 66 61 74 52 65 70 |lmRpt..o|n fatRep|
|00003380| 6f 72 74 0d 67 6c 6f 62 | 61 6c 20 6c 6e 73 0d 70 |ort.glob|al lns.p|
|00003390| 75 74 20 22 59 6f 75 20 | 68 61 76 65 22 20 26 26 |ut "You |have" &&|
|000033a0| 20 6c 6e 73 20 26 26 20 | 22 6c 69 6e 65 73 2e 20 | lns && |"lines. |
|000033b0| 27 54 69 6d 65 20 52 65 | 70 6f 72 74 27 20 68 6f |'Time Re|port' ho|
|000033c0| 6c 64 73 20 33 36 2e 20 | 44 6f 20 79 6f 75 20 73 |lds 36. |Do you s|
|000033d0| 74 69 6c 6c 20 77 61 6e | 74 20 61 20 72 65 70 6f |till wan|t a repo|
|000033e0| 72 74 3f 22 20 69 6e 74 | 6f 20 70 72 6f 6d 70 74 |rt?" int|o prompt|
|000033f0| 0d 73 68 6f 77 44 69 61 | 6c 6f 67 20 31 2c 34 36 |.showDia|log 1,46|
|00003400| 39 35 2c 70 72 6f 6d 70 | 74 2c 54 52 55 45 0d 67 |95,promp|t,TRUE.g|
|00003410| 65 74 20 74 68 65 20 72 | 65 73 75 6c 74 0d 69 66 |et the r|esult.if|
|00003420| 20 69 74 20 3d 20 34 20 | 74 68 65 6e 0d 65 78 69 | it = 4 |then.exi|
|00003430| 74 20 74 6f 20 68 79 70 | 65 72 63 61 72 64 0d 65 |t to hyp|ercard.e|
|00003440| 6e 64 20 69 66 0d 65 6e | 64 20 66 61 74 52 65 70 |nd if.en|d fatRep|
|00003450| 6f 72 74 0d 0d 6f 6e 20 | 73 65 74 44 69 61 6c 6f |ort..on |setDialo|
|00003460| 67 0d 70 75 74 20 22 43 | 75 73 74 6f 6d 20 4a 6f |g.put "C|ustom Jo|
|00003470| 62 20 46 69 65 6c 64 22 | 20 26 20 72 65 74 75 72 |b Field"| & retur|
|00003480| 6e 20 26 20 22 4a 6f 62 | 20 4e 75 6d 62 65 72 73 |n & "Job| Numbers|
|00003490| 22 20 26 20 72 65 74 75 | 72 6e 20 c2 0d 26 20 22 |" & retu|rn ..& "|
|000034a0| 48 6f 75 72 20 44 69 76 | 69 73 69 6f 6e 73 22 20 |Hour Div|isions" |
|000034b0| 26 20 72 65 74 75 72 6e | 20 26 20 22 54 72 61 6e |& return| & "Tran|
|000034c0| 73 66 65 72 20 57 61 72 | 6e 69 6e 67 73 22 20 26 |sfer War|nings" &|
|000034d0| 20 72 65 74 75 72 6e 20 | 26 20 22 41 75 74 6f 20 | return |& "Auto |
|000034e0| 52 65 70 6f 72 74 73 22 | 20 26 20 72 65 74 75 72 |Reports"| & retur|
|000034f0| 6e 20 26 20 c2 0d 22 53 | 6b 69 70 20 57 65 65 6b |n & .."S|kip Week|
|00003500| 65 6e 64 73 22 20 26 20 | 72 65 74 75 72 6e 20 26 |ends" & |return &|
|00003510| 20 22 4c 6f 6e 67 20 43 | 6f 6d 6d 65 6e 74 73 22 | "Long C|omments"|
|00003520| 20 26 20 72 65 74 75 72 | 6e 20 26 20 22 4a 6f 62 | & retur|n & "Job|
|00003530| 20 45 78 70 6f 72 74 20 | 53 65 74 74 69 6e 67 73 | Export |Settings|
|00003540| 22 20 69 6e 74 6f 20 70 | 72 6f 6d 70 74 0d 73 68 |" into p|rompt.sh|
|00003550| 6f 77 44 69 61 6c 6f 67 | 20 37 2c 39 39 36 37 2c |owDialog| 7,9967,|
|00003560| 22 50 69 63 6b 20 61 20 | 73 65 74 2d 75 70 20 73 |"Pick a |set-up s|
|00003570| 65 6c 65 63 74 69 6f 6e | 22 2c 53 79 73 74 65 6d |election|",System|
|00003580| 2c 31 32 2c 70 72 6f 6d | 70 74 2c 31 2c 6f 6e 65 |,12,prom|pt,1,one|
|00003590| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|000035a0| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|000035b0| 3d 20 32 20 74 68 65 6e | 0d 65 78 69 74 20 73 65 |= 2 then|.exit se|
|000035c0| 74 44 69 61 6c 6f 67 0d | 65 6c 73 65 0d 69 66 20 |tDialog.|else.if |
|000035d0| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 20 3d 20 31 |line 2 o|f it = 1|
|000035e0| 20 74 68 65 6e 20 73 70 | 65 63 46 6c 64 53 65 74 | then sp|ecFldSet|
|000035f0| 75 70 0d 65 6c 73 65 20 | 69 66 20 6c 69 6e 65 20 |up.else |if line |
|00003600| 32 20 6f 66 20 69 74 20 | 3d 20 32 20 74 68 65 6e |2 of it |= 2 then|
|00003610| 20 73 65 74 4a 6f 62 4e | 75 6d 0d 65 6c 73 65 20 | setJobN|um.else |
|00003620| 69 66 20 6c 69 6e 65 20 | 32 20 6f 66 20 69 74 20 |if line |2 of it |
|00003630| 3d 20 33 20 74 68 65 6e | 20 63 68 61 6e 67 65 54 |= 3 then| changeT|
|00003640| 69 6d 65 0d 65 6c 73 65 | 20 69 66 20 6c 69 6e 65 |ime.else| if line|
|00003650| 20 32 20 6f 66 20 69 74 | 20 3d 20 34 20 74 68 65 | 2 of it| = 4 the|
|00003660| 6e 20 73 65 74 57 61 72 | 6e 69 6e 67 73 0d 65 6c |n setWar|nings.el|
|00003670| 73 65 20 69 66 20 6c 69 | 6e 65 20 32 20 6f 66 20 |se if li|ne 2 of |
|00003680| 69 74 20 3d 20 35 20 74 | 68 65 6e 20 73 65 74 41 |it = 5 t|hen setA|
|00003690| 75 74 6f 0d 65 6c 73 65 | 20 69 66 20 6c 69 6e 65 |uto.else| if line|
|000036a0| 20 32 20 6f 66 20 69 74 | 20 3d 20 36 20 74 68 65 | 2 of it| = 6 the|
|000036b0| 6e 20 73 65 74 57 6b 6e | 64 73 0d 65 6c 73 65 20 |n setWkn|ds.else |
|000036c0| 69 66 20 6c 69 6e 65 20 | 32 20 6f 66 20 69 74 20 |if line |2 of it |
|000036d0| 3d 20 37 20 74 68 65 6e | 20 73 65 74 43 6f 6d 6d |= 7 then| setComm|
|000036e0| 65 6e 74 73 0d 65 6c 73 | 65 20 69 66 20 6c 69 6e |ents.els|e if lin|
|000036f0| 65 20 32 20 6f 66 20 69 | 74 20 3d 20 38 20 74 68 |e 2 of i|t = 8 th|
|00003700| 65 6e 20 63 68 65 63 6b | 52 65 73 65 74 0d 65 6e |en check|Reset.en|
|00003710| 64 20 69 66 0d 65 6e 64 | 20 73 65 74 44 69 61 6c |d if.end| setDial|
|00003720| 6f 67 0d 0d 6f 6e 20 73 | 65 74 4a 6f 62 4e 75 6d |og..on s|etJobNum|
|00003730| 0d 67 6c 6f 62 61 6c 20 | 74 6b 50 72 65 66 73 0d |.global |tkPrefs.|
|00003740| 69 66 20 6c 69 6e 65 20 | 35 20 6f 66 20 74 6b 50 |if line |5 of tkP|
|00003750| 72 65 66 73 20 3d 20 22 | 41 75 74 6f 6d 61 74 69 |refs = "|Automati|
|00003760| 63 22 20 6f 72 20 6c 69 | 6e 65 20 35 20 6f 66 20 |c" or li|ne 5 of |
|00003770| 74 6b 50 72 65 66 73 20 | 3d 20 65 6d 70 74 79 20 |tkPrefs |= empty |
|00003780| 74 68 65 6e 20 70 75 74 | 20 36 20 69 6e 74 6f 20 |then put| 6 into |
|00003790| 72 0d 65 6c 73 65 20 70 | 75 74 20 37 20 69 6e 74 |r.else p|ut 7 int|
|000037a0| 6f 20 72 0d 69 66 20 66 | 6c 64 20 69 64 20 39 20 |o r.if f|ld id 9 |
|000037b0| 6f 66 20 63 64 20 31 20 | 3d 20 65 6d 70 74 79 20 |of cd 1 |= empty |
|000037c0| 74 68 65 6e 20 70 75 74 | 20 22 31 30 30 32 22 20 |then put| "1002" |
|000037d0| 69 6e 74 6f 20 6e 0d 65 | 6c 73 65 20 70 75 74 20 |into n.e|lse put |
|000037e0| 66 6c 64 20 69 64 20 39 | 20 69 6e 74 6f 20 6e 0d |fld id 9| into n.|
|000037f0| 73 68 6f 77 44 69 61 6c | 6f 67 20 33 2c 34 37 34 |showDial|og 3,474|
|00003800| 35 2c 22 22 2c 22 22 2c | 6e 2c 72 0d 70 75 74 20 |5,"","",|n,r.put |
|00003810| 74 68 65 20 72 65 73 75 | 6c 74 20 69 6e 74 6f 20 |the resu|lt into |
|00003820| 74 68 65 52 65 73 75 6c | 74 0d 69 66 20 74 68 65 |theResul|t.if the|
|00003830| 52 65 73 75 6c 74 20 3d | 20 65 6d 70 74 79 20 74 |Result =| empty t|
|00003840| 68 65 6e 20 65 78 69 74 | 20 73 65 74 4a 6f 62 4e |hen exit| setJobN|
|00003850| 75 6d 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |um.if li|ne 1 of |
|00003860| 74 68 65 52 65 73 75 6c | 74 20 3d 20 37 20 74 68 |theResul|t = 7 th|
|00003870| 65 6e 20 70 75 74 20 22 | 4d 61 6e 75 61 6c 22 20 |en put "|Manual" |
|00003880| 69 6e 74 6f 20 6c 69 6e | 65 20 35 20 6f 66 20 74 |into lin|e 5 of t|
|00003890| 6b 50 72 65 66 73 0d 65 | 6c 73 65 0d 70 75 74 20 |kPrefs.e|lse.put |
|000038a0| 6c 69 6e 65 20 32 20 6f | 66 20 74 68 65 52 65 73 |line 2 o|f theRes|
|000038b0| 75 6c 74 20 69 6e 74 6f | 20 63 68 65 63 6b 4e 75 |ult into| checkNu|
|000038c0| 6d 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |m.repeat| with x |
|000038d0| 3d 20 31 20 74 6f 20 6c | 65 6e 67 74 68 28 63 68 |= 1 to l|ength(ch|
|000038e0| 65 63 6b 4e 75 6d 29 0d | 69 66 20 63 68 61 72 74 |eckNum).|if chart|
|000038f0| 6f 4e 75 6d 20 6f 66 20 | 63 68 61 72 20 78 20 6f |oNum of |char x o|
|00003900| 66 20 63 68 65 63 6b 4e | 75 6d 20 3c 20 34 38 20 |f checkN|um < 48 |
|00003910| 6f 72 20 63 68 61 72 74 | 6f 4e 75 6d 20 6f 66 20 |or chart|oNum of |
|00003920| 63 68 61 72 20 78 20 6f | 66 20 63 68 65 63 6b 4e |char x o|f checkN|
|00003930| 75 6d 20 3e 20 35 37 20 | 74 68 65 6e 0d 6e 75 6d |um > 57 |then.num|
|00003940| 57 61 72 6e 69 6e 67 0d | 65 78 69 74 20 73 65 74 |Warning.|exit set|
|00003950| 4a 6f 62 4e 75 6d 0d 65 | 6e 64 20 69 66 0d 65 6e |JobNum.e|nd if.en|
|00003960| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 22 41 75 |d repeat|.put "Au|
|00003970| 74 6f 6d 61 74 69 63 22 | 20 69 6e 74 6f 20 6c 69 |tomatic"| into li|
|00003980| 6e 65 20 35 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |ne 5 of |tkPrefs.|
|00003990| 70 75 74 20 6c 69 6e 65 | 20 32 20 6f 66 20 74 68 |put line| 2 of th|
|000039a0| 65 52 65 73 75 6c 74 20 | 69 6e 74 6f 20 66 6c 64 |eResult |into fld|
|000039b0| 20 69 64 20 39 20 6f 66 | 20 63 64 20 31 0d 70 72 | id 9 of| cd 1.pr|
|000039c0| 65 66 53 65 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |efSet.en|d if.end|
|000039d0| 20 73 65 74 4a 6f 62 4e | 75 6d 0d 0d 6f 6e 20 6e | setJobN|um..on n|
|000039e0| 75 6d 57 61 72 6e 69 6e | 67 0d 62 65 65 70 20 6f |umWarnin|g.beep o|
|000039f0| 6e 65 0d 73 68 6f 77 44 | 69 61 6c 6f 67 20 32 2c |ne.showD|ialog 2,|
|00003a00| 32 39 35 31 2c 22 45 6e | 74 65 72 20 61 20 76 61 |2951,"En|ter a va|
|00003a10| 6c 69 64 20 6e 75 6d 62 | 65 72 21 22 2c 22 22 2c |lid numb|er!","",|
|00003a20| 22 22 0d 65 6e 64 20 6e | 75 6d 57 61 72 6e 69 6e |"".end n|umWarnin|
|00003a30| 67 0d 0d 6f 6e 20 63 68 | 61 6e 67 65 54 69 6d 65 |g..on ch|angeTime|
|00003a40| 0d 67 6c 6f 62 61 6c 20 | 74 6b 50 72 65 66 73 0d |.global |tkPrefs.|
|00003a50| 69 66 20 6c 69 6e 65 20 | 36 20 6f 66 20 74 6b 50 |if line |6 of tkP|
|00003a60| 72 65 66 73 20 3d 20 31 | 30 20 74 68 65 6e 20 70 |refs = 1|0 then p|
|00003a70| 75 74 20 34 20 69 6e 74 | 6f 20 61 0d 65 6c 73 65 |ut 4 int|o a.else|
|00003a80| 20 70 75 74 20 33 20 69 | 6e 74 6f 20 61 0d 73 68 | put 3 i|nto a.sh|
|00003a90| 6f 77 44 69 61 6c 6f 67 | 20 33 2c 32 39 39 35 38 |owDialog| 3,29958|
|00003aa0| 2c 22 22 2c 22 22 2c 22 | 22 2c 61 0d 70 75 74 20 |,"","","|",a.put |
|00003ab0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 6e 74 6f 20 |the resu|lt into |
|00003ac0| 74 68 65 52 65 73 75 6c | 74 0d 69 66 20 74 68 65 |theResul|t.if the|
|00003ad0| 52 65 73 75 6c 74 20 3d | 20 65 6d 70 74 79 20 74 |Result =| empty t|
|00003ae0| 68 65 6e 20 65 78 69 74 | 20 63 68 61 6e 67 65 54 |hen exit| changeT|
|00003af0| 69 6d 65 0d 69 66 20 6c | 69 6e 65 20 31 20 6f 66 |ime.if l|ine 1 of|
|00003b00| 20 74 68 65 52 65 73 75 | 6c 74 20 3d 20 33 20 74 | theResu|lt = 3 t|
|00003b10| 68 65 6e 20 70 75 74 20 | 34 20 69 6e 74 6f 20 6c |hen put |4 into l|
|00003b20| 69 6e 65 20 36 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 6 of| tkPrefs|
|00003b30| 0d 65 6c 73 65 20 70 75 | 74 20 31 30 20 69 6e 74 |.else pu|t 10 int|
|00003b40| 6f 20 6c 69 6e 65 20 36 | 20 6f 66 20 74 6b 50 72 |o line 6| of tkPr|
|00003b50| 65 66 73 0d 70 72 65 66 | 53 65 74 0d 65 6e 64 20 |efs.pref|Set.end |
|00003b60| 63 68 61 6e 67 65 54 69 | 6d 65 0d 0d 6f 6e 20 73 |changeTi|me..on s|
|00003b70| 65 74 57 61 72 6e 69 6e | 67 73 0d 67 6c 6f 62 61 |etWarnin|gs.globa|
|00003b80| 6c 20 74 68 65 52 65 73 | 75 6c 74 2c 6d 69 6e 2c |l theRes|ult,min,|
|00003b90| 74 6b 50 72 65 66 73 0d | 69 66 20 6c 69 6e 65 20 |tkPrefs.|if line |
|00003ba0| 38 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 65 |8 of tkP|refs = e|
|00003bb0| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 38 20 |mpty the|n put 8 |
|00003bc0| 69 6e 74 6f 20 6d 69 6e | 0d 65 6c 73 65 20 70 75 |into min|.else pu|
|00003bd0| 74 20 6c 69 6e 65 20 38 | 20 6f 66 20 74 6b 50 72 |t line 8| of tkPr|
|00003be0| 65 66 73 20 69 6e 74 6f | 20 6d 69 6e 0d 69 66 20 |efs into| min.if |
|00003bf0| 6c 69 6e 65 20 37 20 6f | 66 20 74 6b 50 72 65 66 |line 7 o|f tkPref|
|00003c00| 73 20 3d 20 22 54 72 75 | 65 22 20 74 68 65 6e 20 |s = "Tru|e" then |
|00003c10| 70 75 74 20 34 20 69 6e | 74 6f 20 72 0d 65 6c 73 |put 4 in|to r.els|
|00003c20| 65 20 70 75 74 20 35 20 | 69 6e 74 6f 20 72 0d 73 |e put 5 |into r.s|
|00003c30| 68 6f 77 44 69 61 6c 6f | 67 20 33 2c 31 32 39 30 |howDialo|g 3,1290|
|00003c40| 2c 22 57 61 72 6e 20 6d | 65 20 69 66 20 49 20 68 |,"Warn m|e if I h|
|00003c50| 61 76 65 20 6c 65 73 73 | 20 74 68 61 6e 3a 22 2c |ave less| than:",|
|00003c60| 22 68 6f 75 72 73 2e 22 | 2c 6d 69 6e 2c 72 0d 70 |"hours."|,min,r.p|
|00003c70| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00003c80| 74 6f 20 74 68 65 52 65 | 73 75 6c 74 0d 69 66 20 |to theRe|sult.if |
|00003c90| 74 68 65 52 65 73 75 6c | 74 20 3d 20 65 6d 70 74 |theResul|t = empt|
|00003ca0| 79 20 74 68 65 6e 20 65 | 78 69 74 20 73 65 74 57 |y then e|xit setW|
|00003cb0| 61 72 6e 69 6e 67 73 0d | 65 6c 73 65 0d 69 66 20 |arnings.|else.if |
|00003cc0| 6c 69 6e 65 20 31 20 6f | 66 20 74 68 65 52 65 73 |line 1 o|f theRes|
|00003cd0| 75 6c 74 20 3d 20 34 20 | 74 68 65 6e 0d 69 66 20 |ult = 4 |then.if |
|00003ce0| 6c 69 6e 65 20 32 20 6f | 66 20 74 68 65 52 65 73 |line 2 o|f theRes|
|00003cf0| 75 6c 74 20 3d 20 65 6d | 70 74 79 20 74 68 65 6e |ult = em|pty then|
|00003d00| 0d 70 75 74 20 22 66 61 | 6c 73 65 22 20 69 6e 74 |.put "fa|lse" int|
|00003d10| 6f 20 6c 69 6e 65 20 37 | 20 6f 66 20 74 6b 50 72 |o line 7| of tkPr|
|00003d20| 65 66 73 0d 65 6c 73 65 | 0d 70 75 74 20 22 74 72 |efs.else|.put "tr|
|00003d30| 75 65 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 37 20 |ue" into| line 7 |
|00003d40| 6f 66 20 74 6b 50 72 65 | 66 73 0d 70 75 74 20 6c |of tkPre|fs.put l|
|00003d50| 69 6e 65 20 32 20 6f 66 | 20 74 68 65 52 65 73 75 |ine 2 of| theResu|
|00003d60| 6c 74 20 69 6e 74 6f 20 | 6c 69 6e 65 20 38 20 6f |lt into |line 8 o|
|00003d70| 66 20 74 6b 50 72 65 66 | 73 0d 65 6e 64 20 69 66 |f tkPref|s.end if|
|00003d80| 0d 65 6c 73 65 0d 70 75 | 74 20 22 66 61 6c 73 65 |.else.pu|t "false|
|00003d90| 22 20 69 6e 74 6f 20 6c | 69 6e 65 20 37 20 6f 66 |" into l|ine 7 of|
|00003da0| 20 74 6b 50 72 65 66 73 | 0d 65 6e 64 20 69 66 0d | tkPrefs|.end if.|
|00003db0| 65 6e 64 20 69 66 0d 70 | 72 65 66 53 65 74 0d 65 |end if.p|refSet.e|
|00003dc0| 6e 64 20 73 65 74 57 61 | 72 6e 69 6e 67 73 0d 0d |nd setWa|rnings..|
|00003dd0| 6f 6e 20 73 70 65 63 46 | 6c 64 53 65 74 75 70 0d |on specF|ldSetup.|
|00003de0| 67 6c 6f 62 61 6c 20 74 | 68 65 52 65 73 75 6c 74 |global t|heResult|
|00003df0| 2c 74 6b 50 72 65 66 73 | 0d 70 75 74 20 74 68 65 |,tkPrefs|.put the|
|00003e00| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 63 64 20 | short i|d of cd |
|00003e10| 31 20 6f 66 20 62 67 20 | 41 72 63 68 69 76 65 20 |1 of bg |Archive |
|00003e20| 69 6e 74 6f 20 61 0d 69 | 66 20 6c 69 6e 65 20 39 |into a.i|f line 9|
|00003e30| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 3d 20 22 54 | of tkPr|efs = "T|
|00003e40| 72 75 65 22 20 74 68 65 | 6e 20 70 75 74 20 35 20 |rue" the|n put 5 |
|00003e50| 69 6e 74 6f 20 72 0d 65 | 6c 73 65 20 70 75 74 20 |into r.e|lse put |
|00003e60| 36 20 69 6e 74 6f 20 72 | 0d 73 68 6f 77 44 69 61 |6 into r|.showDia|
|00003e70| 6c 6f 67 20 33 2c 34 37 | 34 33 2c 22 50 72 6f 6d |log 3,47|43,"Prom|
|00003e80| 70 74 20 73 74 72 69 6e | 67 3a 22 2c 22 46 69 65 |pt strin|g:","Fie|
|00003e90| 6c 64 20 6c 61 62 65 6c | 3a 22 2c 6c 69 6e 65 20 |ld label|:",line |
|00003ea0| 31 30 20 6f 66 20 74 6b | 50 72 65 66 73 2c 72 0d |10 of tk|Prefs,r.|
|00003eb0| 70 75 74 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |put the |result i|
|00003ec0| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 69 66 |nto theR|esult.if|
|00003ed0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 74 68 65 52 65 | line 1 |of theRe|
|00003ee0| 73 75 6c 74 20 3d 20 31 | 20 74 68 65 6e 20 65 78 |sult = 1| then ex|
|00003ef0| 69 74 20 73 70 65 63 46 | 6c 64 53 65 74 75 70 0d |it specF|ldSetup.|
|00003f00| 65 6c 73 65 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |else.if |line 1 o|
|00003f10| 66 20 74 68 65 52 65 73 | 75 6c 74 20 3d 20 36 20 |f theRes|ult = 6 |
|00003f20| 74 68 65 6e 0d 70 75 74 | 20 22 66 61 6c 73 65 22 |then.put| "false"|
|00003f30| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 39 20 6f 66 20 | into li|ne 9 of |
|00003f40| 74 6b 50 72 65 66 73 0d | 70 75 74 20 65 6d 70 74 |tkPrefs.|put empt|
|00003f50| 79 20 69 6e 74 6f 20 6c | 69 6e 65 20 31 30 20 6f |y into l|ine 10 o|
|00003f60| 66 20 74 6b 50 72 65 66 | 73 0d 68 69 64 65 20 66 |f tkPref|s.hide f|
|00003f70| 6c 64 20 69 64 20 31 30 | 20 6f 66 20 6c 61 73 74 |ld id 10| of last|
|00003f80| 20 63 64 0d 68 69 64 65 | 20 66 6c 64 20 69 64 20 | cd.hide| fld id |
|00003f90| 31 30 20 6f 66 20 63 64 | 20 69 64 20 61 0d 73 65 |10 of cd| id a.se|
|00003fa0| 74 20 6e 61 6d 65 20 6f | 66 20 62 67 20 62 74 6e |t name o|f bg btn|
|00003fb0| 20 69 64 20 34 36 20 6f | 66 20 6c 61 73 74 20 63 | id 46 o|f last c|
|00003fc0| 64 20 74 6f 20 65 6d 70 | 74 79 20 2d 2d 20 66 69 |d to emp|ty -- fi|
|00003fd0| 65 6c 64 20 6c 61 62 65 | 6c 0d 73 65 74 20 6e 61 |eld labe|l.set na|
|00003fe0| 6d 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |me of bg| btn id |
|00003ff0| 34 36 20 6f 66 20 63 64 | 20 69 64 20 61 20 74 6f |46 of cd| id a to|
|00004000| 20 65 6d 70 74 79 20 2d | 2d 20 66 69 65 6c 64 20 | empty -|- field |
|00004010| 6c 61 62 65 6c 0d 65 6c | 73 65 0d 69 66 20 6c 69 |label.el|se.if li|
|00004020| 6e 65 20 31 20 6f 66 20 | 74 68 65 52 65 73 75 6c |ne 1 of |theResul|
|00004030| 74 20 3d 20 35 20 74 68 | 65 6e 0d 69 66 20 6c 69 |t = 5 th|en.if li|
|00004040| 6e 65 20 32 20 6f 66 20 | 74 68 65 52 65 73 75 6c |ne 2 of |theResul|
|00004050| 74 20 ad 20 65 6d 70 74 | 79 20 61 6e 64 20 6c 69 |t . empt|y and li|
|00004060| 6e 65 20 33 20 6f 66 20 | 74 68 65 52 65 73 75 6c |ne 3 of |theResul|
|00004070| 74 20 ad 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |t . empt|y then.p|
|00004080| 75 74 20 22 74 72 75 65 | 22 20 69 6e 74 6f 20 6c |ut "true|" into l|
|00004090| 69 6e 65 20 39 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 9 of| tkPrefs|
|000040a0| 0d 73 68 6f 77 20 66 6c | 64 20 69 64 20 31 30 20 |.show fl|d id 10 |
|000040b0| 6f 66 20 6c 61 73 74 20 | 63 64 0d 73 68 6f 77 20 |of last |cd.show |
|000040c0| 66 6c 64 20 69 64 20 31 | 30 20 6f 66 20 63 64 20 |fld id 1|0 of cd |
|000040d0| 69 64 20 61 0d 69 66 20 | 74 68 65 20 6c 61 73 74 |id a.if |the last|
|000040e0| 20 63 68 61 72 20 6f 66 | 20 6c 69 6e 65 20 33 20 | char of| line 3 |
|000040f0| 6f 66 20 74 68 65 52 65 | 73 75 6c 74 20 ad 20 22 |of theRe|sult . "|
|00004100| 3a 22 20 74 68 65 6e 20 | c2 0d 70 75 74 20 6c 69 |:" then |..put li|
|00004110| 6e 65 20 33 20 6f 66 20 | 74 68 65 52 65 73 75 6c |ne 3 of |theResul|
|00004120| 74 20 26 20 22 3a 22 20 | 69 6e 74 6f 20 6c 61 62 |t & ":" |into lab|
|00004130| 65 6c 4e 61 6d 65 0d 73 | 65 74 20 6e 61 6d 65 20 |elName.s|et name |
|00004140| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 34 36 20 |of bg bt|n id 46 |
|00004150| 6f 66 20 6c 61 73 74 20 | 63 64 20 74 6f 20 6c 61 |of last |cd to la|
|00004160| 62 65 6c 4e 61 6d 65 20 | 2d 2d 20 66 69 65 6c 64 |belName |-- field|
|00004170| 20 6c 61 62 65 6c 0d 73 | 65 74 20 6e 61 6d 65 20 | label.s|et name |
|00004180| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 34 36 20 |of bg bt|n id 46 |
|00004190| 6f 66 20 63 64 20 69 64 | 20 61 20 74 6f 20 6c 61 |of cd id| a to la|
|000041a0| 62 65 6c 4e 61 6d 65 20 | 2d 2d 20 66 69 65 6c 64 |belName |-- field|
|000041b0| 20 6c 61 62 65 6c 0d 70 | 75 74 20 6c 61 62 65 6c | label.p|ut label|
|000041c0| 4e 61 6d 65 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |Name int|o line 1|
|000041d0| 31 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 70 75 74 |1 of tkP|refs.put|
|000041e0| 20 6c 69 6e 65 20 32 20 | 6f 66 20 74 68 65 52 65 | line 2 |of theRe|
|000041f0| 73 75 6c 74 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |sult int|o line 1|
|00004200| 30 20 6f 66 20 74 6b 50 | 72 65 66 73 20 2d 2d 20 |0 of tkP|refs -- |
|00004210| 64 69 61 6c 6f 67 75 65 | 20 70 72 6f 6d 70 74 0d |dialogue| prompt.|
|00004220| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00004230| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 70 72 65 66 |d if.end| if.pref|
|00004240| 53 65 74 0d 65 6e 64 20 | 73 70 65 63 46 6c 64 53 |Set.end |specFldS|
|00004250| 65 74 75 70 0d 0d 6f 6e | 20 72 65 70 6f 72 74 46 |etup..on| reportF|
|00004260| 6f 72 6d 61 74 0d 67 6c | 6f 62 61 6c 20 74 6b 50 |ormat.gl|obal tkP|
|00004270| 72 65 66 73 0d 69 66 20 | 6c 69 6e 65 20 31 32 20 |refs.if |line 12 |
|00004280| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 65 6d 70 |of tkPre|fs = emp|
|00004290| 74 79 20 74 68 65 6e 20 | 70 75 74 20 33 20 69 6e |ty then |put 3 in|
|000042a0| 74 6f 20 6c 69 6e 65 20 | 31 32 20 6f 66 20 74 6b |to line |12 of tk|
|000042b0| 50 72 65 66 73 0d 73 68 | 6f 77 44 69 61 6c 6f 67 |Prefs.sh|owDialog|
|000042c0| 20 33 2c 31 32 38 31 2c | 22 22 2c 22 22 2c 22 22 | 3,1281,|"","",""|
|000042d0| 2c 6c 69 6e 65 20 31 32 | 20 6f 66 20 74 6b 50 72 |,line 12| of tkPr|
|000042e0| 65 66 73 0d 70 75 74 20 | 74 68 65 20 72 65 73 75 |efs.put |the resu|
|000042f0| 6c 74 20 69 6e 74 6f 20 | 74 68 65 52 65 73 75 6c |lt into |theResul|
|00004300| 74 0d 69 66 20 74 68 65 | 52 65 73 75 6c 74 20 3d |t.if the|Result =|
|00004310| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00004320| 20 72 65 70 6f 72 74 46 | 6f 72 6d 61 74 0d 69 66 | reportF|ormat.if|
|00004330| 20 6c 69 6e 65 20 31 20 | 6f 66 20 74 68 65 52 65 | line 1 |of theRe|
|00004340| 73 75 6c 74 20 3d 20 33 | 20 6f 72 20 6c 69 6e 65 |sult = 3| or line|
|00004350| 20 31 20 6f 66 20 74 68 | 65 52 65 73 75 6c 74 20 | 1 of th|eResult |
|00004360| 3d 20 30 20 74 68 65 6e | 20 70 75 74 20 33 20 69 |= 0 then| put 3 i|
|00004370| 6e 74 6f 20 6c 69 6e 65 | 20 31 32 20 6f 66 20 74 |nto line| 12 of t|
|00004380| 6b 50 72 65 66 73 0d 65 | 6c 73 65 20 70 75 74 20 |kPrefs.e|lse put |
|00004390| 34 20 69 6e 74 6f 20 6c | 69 6e 65 20 31 32 20 6f |4 into l|ine 12 o|
|000043a0| 66 20 74 6b 50 72 65 66 | 73 0d 6c 6f 63 6b 20 73 |f tkPref|s.lock s|
|000043b0| 63 72 65 65 6e 0d 69 66 | 20 74 68 65 72 65 20 69 |creen.if| there i|
|000043c0| 73 20 61 20 6d 65 6e 75 | 20 22 54 69 6d 65 6b 65 |s a menu| "Timeke|
|000043d0| 65 70 65 72 22 20 74 68 | 65 6e 20 70 75 74 20 65 |eper" th|en put e|
|000043e0| 6d 70 74 79 20 69 6e 74 | 6f 20 6d 65 6e 75 20 22 |mpty int|o menu "|
|000043f0| 54 69 6d 65 6b 65 65 70 | 65 72 22 0d 73 65 6e 64 |Timekeep|er".send|
|00004400| 20 73 65 74 4d 65 6e 75 | 20 74 6f 20 74 68 69 73 | setMenu| to this|
|00004410| 20 62 67 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 | bg.unlo|ck scree|
|00004420| 6e 0d 70 72 65 66 53 65 | 74 0d 65 6e 64 20 72 65 |n.prefSe|t.end re|
|00004430| 70 6f 72 74 46 6f 72 6d | 61 74 0d 0d 6f 6e 20 61 |portForm|at..on a|
|00004440| 62 6f 75 74 4d 65 0d 73 | 68 6f 77 44 69 61 6c 6f |boutMe.s|howDialo|
|00004450| 67 20 31 2c 34 37 34 39 | 2c 22 22 2c 54 52 55 45 |g 1,4749|,"",TRUE|
|00004460| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3d |.if the |result =|
|00004470| 20 32 20 74 68 65 6e 20 | 65 78 69 74 20 61 62 6f | 2 then |exit abo|
|00004480| 75 74 4d 65 0d 65 6c 73 | 65 20 68 65 6c 70 4d 65 |utMe.els|e helpMe|
|00004490| 0d 65 6e 64 20 61 62 6f | 75 74 4d 65 0d 0d 6f 6e |.end abo|utMe..on|
|000044a0| 20 68 65 6c 70 4d 65 0d | 6c 6f 63 6b 20 73 63 72 | helpMe.|lock scr|
|000044b0| 65 65 6e 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |een.disa|ble menu|
|000044c0| 20 54 69 6d 65 6b 65 65 | 70 65 72 0d 73 68 6f 77 | Timekee|per.show|
|000044d0| 20 62 67 20 62 74 6e 20 | 69 64 20 36 30 0d 73 68 | bg btn |id 60.sh|
|000044e0| 6f 77 20 66 6c 64 20 69 | 64 20 35 38 20 6f 66 20 |ow fld i|d 58 of |
|000044f0| 63 64 20 31 0d 73 68 6f | 77 20 66 6c 64 20 69 64 |cd 1.sho|w fld id|
|00004500| 20 35 37 20 6f 66 20 63 | 64 20 31 0d 75 6e 6c 6f | 57 of c|d 1.unlo|
|00004510| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 68 65 |ck scree|n.end he|
|00004520| 6c 70 4d 65 0d 0d 6f 6e | 20 69 6e 76 61 6c 69 44 |lpMe..on| invaliD|
|00004530| 61 74 65 0d 62 65 65 70 | 0d 73 68 6f 77 44 69 61 |ate.beep|.showDia|
|00004540| 6c 6f 67 20 31 2c 34 36 | 39 35 2c 22 59 6f 75 20 |log 1,46|95,"You |
|00004550| 6d 75 73 74 20 75 73 65 | 20 74 68 65 20 70 72 6f |must use| the pro|
|00004560| 70 65 72 20 64 61 74 65 | 20 66 6f 72 6d 61 74 21 |per date| format!|
|00004570| 22 2c 54 52 55 45 0d 65 | 6e 64 20 69 6e 76 61 6c |",TRUE.e|nd inval|
|00004580| 69 44 61 74 65 0d 0d 6f | 6e 20 73 73 20 78 0d 65 |iDate..o|n ss x.e|
|00004590| 78 69 74 20 73 73 0d 65 | 6e 64 20 73 73 0d 0d 6f |xit ss.e|nd ss..o|
|000045a0| 6e 20 73 65 61 72 63 68 | 53 63 72 69 70 74 20 78 |n search|Script x|
|000045b0| 0d 65 78 69 74 20 73 65 | 61 72 63 68 53 63 72 69 |.exit se|archScri|
|000045c0| 70 74 0d 65 6e 64 20 73 | 65 61 72 63 68 53 63 72 |pt.end s|earchScr|
|000045d0| 69 70 74 0d 0d 6f 6e 20 | 67 65 74 54 69 6d 65 73 |ipt..on |getTimes|
|000045e0| 68 65 65 74 73 0d 67 6c | 6f 62 61 6c 20 74 6b 50 |heets.gl|obal tkP|
|000045f0| 72 65 66 73 2c 62 74 6e | 4e 75 6d 0d 61 6e 73 77 |refs,btn|Num.answ|
|00004600| 65 72 20 66 69 6c 65 20 | 22 57 68 65 72 65 20 69 |er file |"Where i|
|00004610| 73 20 79 6f 75 72 20 d2 | 44 61 69 6c 79 20 54 69 |s your .|Daily Ti|
|00004620| 6d 65 20 52 65 70 6f 72 | 74 73 d3 20 73 74 61 63 |me Repor|ts. stac|
|00004630| 6b 3f 22 20 6f 66 20 74 | 79 70 65 20 53 54 41 4b |k?" of t|ype STAK|
|00004640| 0d 69 66 20 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d |.if the |long nam|
|00004650| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00004660| 3d 20 22 73 74 61 63 6b | 20 22 20 26 20 71 75 6f |= "stack| " & quo|
|00004670| 74 65 20 26 20 69 74 20 | 26 20 71 75 6f 74 65 20 |te & it |& quote |
|00004680| 74 68 65 6e 0d 62 65 65 | 70 0d 61 6e 73 77 65 72 |then.bee|p.answer|
|00004690| 20 22 59 6f 75 20 70 69 | 63 6b 65 64 20 74 68 69 | "You pi|cked thi|
|000046a0| 73 20 73 74 61 63 6b 21 | 20 54 72 79 20 61 67 61 |s stack!| Try aga|
|000046b0| 69 6e 2e 22 0d 67 65 74 | 54 69 6d 65 73 68 65 65 |in.".get|Timeshee|
|000046c0| 74 73 0d 65 6c 73 65 0d | 69 66 20 69 74 20 3d 20 |ts.else.|if it = |
|000046d0| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|000046e0| 74 6f 20 68 79 70 65 72 | 63 61 72 64 0d 70 75 73 |to hyper|card.pus|
|000046f0| 68 20 74 68 69 73 20 63 | 64 0d 73 65 74 20 74 68 |h this c|d.set th|
|00004700| 65 20 6e 61 6d 65 20 6f | 66 20 62 67 20 62 74 6e |e name o|f bg btn|
|00004710| 20 69 64 20 35 33 20 6f | 66 20 63 64 20 31 20 74 | id 53 o|f cd 1 t|
|00004720| 6f 20 69 74 0d 73 65 74 | 20 74 68 65 20 6e 61 6d |o it.set| the nam|
|00004730| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 69 64 20 34 |e of bg |btn id 4|
|00004740| 32 20 6f 66 20 63 64 20 | 31 20 6f 66 20 62 67 20 |2 of cd |1 of bg |
|00004750| 41 72 63 68 69 76 65 20 | 74 6f 20 69 74 0d 73 65 |Archive |to it.se|
|00004760| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 62 67 |t the na|me of bg|
|00004770| 20 62 74 6e 20 69 64 20 | 34 32 20 6f 66 20 6c 61 | btn id |42 of la|
|00004780| 73 74 20 63 64 20 74 6f | 20 69 74 0d 70 75 74 20 |st cd to| it.put |
|00004790| 69 74 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 35 20 |it into |line 15 |
|000047a0| 6f 66 20 74 6b 50 72 65 | 66 73 0d 65 6e 64 20 69 |of tkPre|fs.end i|
|000047b0| 66 0d 65 6e 64 20 67 65 | 74 54 69 6d 65 73 68 65 |f.end ge|tTimeshe|
|000047c0| 65 74 73 0d 0d 6f 6e 20 | 63 68 65 63 6b 53 74 61 |ets..on |checkSta|
|000047d0| 63 6b 0d 69 66 20 74 68 | 65 20 69 64 20 6f 66 20 |ck.if th|e id of |
|000047e0| 62 67 20 31 20 ad 20 32 | 36 32 34 20 74 68 65 6e |bg 1 . 2|624 then|
|000047f0| 0d 62 65 65 70 0d 61 6e | 73 77 65 72 20 22 54 68 |.beep.an|swer "Th|
|00004800| 69 73 20 69 73 6e d5 74 | 20 61 20 d2 44 61 69 6c |is isn.t| a .Dail|
|00004810| 79 20 54 69 6d 65 73 68 | 65 65 74 73 d3 20 73 74 |y Timesh|eets. st|
|00004820| 61 63 6b 21 20 54 72 79 | 20 61 67 61 69 6e 2e 22 |ack! Try| again."|
|00004830| 0d 70 6f 70 20 63 64 0d | 67 65 74 54 69 6d 65 73 |.pop cd.|getTimes|
|00004840| 68 65 65 74 73 0d 65 6e | 64 20 69 66 0d 65 6e 64 |heets.en|d if.end|
|00004850| 20 63 68 65 63 6b 53 74 | 61 63 6b 0d 0d 66 75 6e | checkSt|ack..fun|
|00004860| 63 74 69 6f 6e 20 63 6f | 6e 76 65 72 74 48 72 73 |ction co|nvertHrs|
|00004870| 20 68 6f 75 72 73 0d 67 | 6c 6f 62 61 6c 20 74 6b | hours.g|lobal tk|
|00004880| 50 72 65 66 73 2c 78 0d | 69 66 20 6c 69 6e 65 20 |Prefs,x.|if line |
|00004890| 36 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 65 |6 of tkP|refs = e|
|000048a0| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 34 20 |mpty the|n put 4 |
|000048b0| 69 6e 74 6f 20 78 0d 65 | 6c 73 65 20 70 75 74 20 |into x.e|lse put |
|000048c0| 6c 69 6e 65 20 36 20 6f | 66 20 74 6b 50 72 65 66 |line 6 o|f tkPref|
|000048d0| 73 20 69 6e 74 6f 20 78 | 0d 70 75 74 20 68 6f 75 |s into x|.put hou|
|000048e0| 72 73 20 2a 20 78 20 69 | 6e 74 6f 20 71 75 61 72 |rs * x i|nto quar|
|000048f0| 74 65 72 54 69 6d 65 0d | 70 75 74 20 71 75 61 72 |terTime.|put quar|
|00004900| 74 65 72 54 69 6d 65 20 | 2d 20 74 72 75 6e 63 28 |terTime |- trunc(|
|00004910| 71 75 61 72 74 65 72 54 | 69 6d 65 29 20 69 6e 74 |quarterT|ime) int|
|00004920| 6f 20 66 72 61 63 51 75 | 61 72 74 65 72 0d 70 75 |o fracQu|arter.pu|
|00004930| 74 20 74 72 75 6e 63 28 | 71 75 61 72 74 65 72 54 |t trunc(|quarterT|
|00004940| 69 6d 65 29 20 69 6e 74 | 6f 20 71 75 61 72 74 65 |ime) int|o quarte|
|00004950| 72 43 6f 75 6e 74 0d 69 | 66 20 78 20 3d 20 34 20 |rCount.i|f x = 4 |
|00004960| 61 6e 64 20 66 72 61 63 | 51 75 61 72 74 65 72 20 |and frac|Quarter |
|00004970| 3e 2e 35 20 20 74 68 65 | 6e 20 61 64 64 20 31 20 |>.5 the|n add 1 |
|00004980| 74 6f 20 71 75 61 72 74 | 65 72 43 6f 75 6e 74 0d |to quart|erCount.|
|00004990| 69 66 20 78 20 3d 20 31 | 30 20 61 6e 64 20 66 72 |if x = 1|0 and fr|
|000049a0| 61 63 51 75 61 72 74 65 | 72 20 3e 3d 20 2e 35 20 |acQuarte|r >= .5 |
|000049b0| 74 68 65 6e 20 61 64 64 | 20 31 20 74 6f 20 71 75 |then add| 1 to qu|
|000049c0| 61 72 74 65 72 43 6f 75 | 6e 74 0d 73 65 74 20 74 |arterCou|nt.set t|
|000049d0| 68 65 20 6e 75 6d 62 65 | 72 46 6f 72 6d 61 74 20 |he numbe|rFormat |
|000049e0| 74 6f 20 22 30 2e 30 30 | 22 0d 72 65 74 75 72 6e |to "0.00|".return|
|000049f0| 20 71 75 61 72 74 65 72 | 43 6f 75 6e 74 2f 78 0d | quarter|Count/x.|
|00004a00| 65 6e 64 20 63 6f 6e 76 | 65 72 74 48 72 73 0d 0d |end conv|ertHrs..|
|00004a10| 6f 6e 20 73 65 74 41 75 | 74 6f 0d 67 6c 6f 62 61 |on setAu|to.globa|
|00004a20| 6c 20 74 6b 50 72 65 66 | 73 2c 74 68 65 52 65 73 |l tkPref|s,theRes|
|00004a30| 75 6c 74 0d 69 66 20 6c | 69 6e 65 20 31 37 20 6f |ult.if l|ine 17 o|
|00004a40| 66 20 74 6b 50 72 65 66 | 73 20 3d 20 46 61 6c 73 |f tkPref|s = Fals|
|00004a50| 65 20 6f 72 20 6c 69 6e | 65 20 31 37 20 6f 66 20 |e or lin|e 17 of |
|00004a60| 74 6b 50 72 65 66 73 20 | 3d 20 65 6d 70 74 79 20 |tkPrefs |= empty |
|00004a70| 74 68 65 6e 20 70 75 74 | 20 35 20 69 6e 74 6f 20 |then put| 5 into |
|00004a80| 72 0d 65 6c 73 65 20 70 | 75 74 20 34 20 69 6e 74 |r.else p|ut 4 int|
|00004a90| 6f 20 72 0d 73 68 6f 77 | 44 69 61 6c 6f 67 20 33 |o r.show|Dialog 3|
|00004aa0| 2c 31 32 39 32 2c 22 41 | 75 74 6f 6d 61 74 69 63 |,1292,"A|utomatic|
|00004ab0| 61 6c 6c 79 20 63 72 65 | 61 74 65 20 44 61 69 6c |ally cre|ate Dail|
|00004ac0| 79 20 52 65 70 6f 72 74 | 73 20 61 66 74 65 72 20 |y Report|s after |
|00004ad0| 74 72 61 6e 73 66 65 72 | 72 69 6e 67 20 65 6e 74 |transfer|ring ent|
|00004ae0| 72 69 65 73 3f 22 2c 2c | 2c 72 0d 70 75 74 20 74 |ries?",,|,r.put t|
|00004af0| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 74 |he resul|t into t|
|00004b00| 68 65 52 65 73 75 6c 74 | 0d 69 66 20 74 68 65 52 |heResult|.if theR|
|00004b10| 65 73 75 6c 74 20 3d 20 | 65 6d 70 74 79 20 74 68 |esult = |empty th|
|00004b20| 65 6e 20 65 78 69 74 20 | 73 65 74 41 75 74 6f 0d |en exit |setAuto.|
|00004b30| 65 6c 73 65 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |else.if |line 1 o|
|00004b40| 66 20 74 68 65 52 65 73 | 75 6c 74 20 3d 20 34 20 |f theRes|ult = 4 |
|00004b50| 74 68 65 6e 0d 70 75 74 | 20 54 72 75 65 20 69 6e |then.put| True in|
|00004b60| 74 6f 20 6c 69 6e 65 20 | 31 37 20 6f 66 20 74 6b |to line |17 of tk|
|00004b70| 50 72 65 66 73 0d 65 6c | 73 65 20 70 75 74 20 46 |Prefs.el|se put F|
|00004b80| 61 6c 73 65 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |alse int|o line 1|
|00004b90| 37 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 65 6e 64 |7 of tkP|refs.end|
|00004ba0| 20 69 66 0d 70 72 65 66 | 53 65 74 0d 65 6e 64 20 | if.pref|Set.end |
|00004bb0| 73 65 74 41 75 74 6f 0d | 0d 6f 6e 20 73 65 74 43 |setAuto.|.on setC|
|00004bc0| 6f 6d 6d 65 6e 74 73 0d | 67 6c 6f 62 61 6c 20 74 |omments.|global t|
|00004bd0| 6b 50 72 65 66 73 2c 74 | 68 65 52 65 73 75 6c 74 |kPrefs,t|heResult|
|00004be0| 0d 69 66 20 6c 69 6e 65 | 20 31 36 20 6f 66 20 74 |.if line| 16 of t|
|00004bf0| 6b 50 72 65 66 73 20 3d | 20 46 61 6c 73 65 20 6f |kPrefs =| False o|
|00004c00| 72 20 6c 69 6e 65 20 31 | 36 20 6f 66 20 74 6b 50 |r line 1|6 of tkP|
|00004c10| 72 65 66 73 20 3d 20 65 | 6d 70 74 79 20 74 68 65 |refs = e|mpty the|
|00004c20| 6e 20 70 75 74 20 35 20 | 69 6e 74 6f 20 72 0d 65 |n put 5 |into r.e|
|00004c30| 6c 73 65 20 70 75 74 20 | 34 20 69 6e 74 6f 20 72 |lse put |4 into r|
|00004c40| 0d 73 68 6f 77 44 69 61 | 6c 6f 67 20 33 2c 31 32 |.showDia|log 3,12|
|00004c50| 39 32 2c 22 55 73 65 20 | 6c 6f 6e 67 20 63 6f 6d |92,"Use |long com|
|00004c60| 6d 65 6e 74 73 3f 22 2c | 2c 2c 72 0d 70 75 74 20 |ments?",|,,r.put |
|00004c70| 74 68 65 20 72 65 73 75 | 6c 74 20 69 6e 74 6f 20 |the resu|lt into |
|00004c80| 74 68 65 52 65 73 75 6c | 74 0d 69 66 20 74 68 65 |theResul|t.if the|
|00004c90| 52 65 73 75 6c 74 20 3d | 20 65 6d 70 74 79 20 74 |Result =| empty t|
|00004ca0| 68 65 6e 20 65 78 69 74 | 20 73 65 74 43 6f 6d 6d |hen exit| setComm|
|00004cb0| 65 6e 74 73 0d 65 6c 73 | 65 0d 69 66 20 6c 69 6e |ents.els|e.if lin|
|00004cc0| 65 20 31 20 6f 66 20 74 | 68 65 52 65 73 75 6c 74 |e 1 of t|heResult|
|00004cd0| 20 3d 20 34 20 74 68 65 | 6e 0d 70 75 74 20 74 72 | = 4 the|n.put tr|
|00004ce0| 75 65 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 36 20 |ue into |line 16 |
|00004cf0| 6f 66 20 74 6b 50 72 65 | 66 73 0d 65 6c 73 65 20 |of tkPre|fs.else |
|00004d00| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 6c |put fals|e into l|
|00004d10| 69 6e 65 20 31 36 20 6f | 66 20 74 6b 50 72 65 66 |ine 16 o|f tkPref|
|00004d20| 73 0d 65 6e 64 20 69 66 | 0d 70 72 65 66 53 65 74 |s.end if|.prefSet|
|00004d30| 0d 65 6e 64 20 73 65 74 | 43 6f 6d 6d 65 6e 74 73 |.end set|Comments|
|00004d40| 0d 0d 6f 6e 20 73 65 74 | 57 6b 6e 64 73 0d 67 6c |..on set|Wknds.gl|
|00004d50| 6f 62 61 6c 20 74 6b 50 | 72 65 66 73 2c 74 68 65 |obal tkP|refs,the|
|00004d60| 52 65 73 75 6c 74 0d 69 | 66 20 6c 69 6e 65 20 31 |Result.i|f line 1|
|00004d70| 34 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 22 |4 of tkP|refs = "|
|00004d80| 54 72 75 65 22 20 74 68 | 65 6e 20 70 75 74 20 34 |True" th|en put 4|
|00004d90| 20 69 6e 74 6f 20 72 0d | 65 6c 73 65 20 70 75 74 | into r.|else put|
|00004da0| 20 35 20 69 6e 74 6f 20 | 72 0d 73 68 6f 77 44 69 | 5 into |r.showDi|
|00004db0| 61 6c 6f 67 20 33 2c 31 | 32 39 32 2c 22 53 6b 69 |alog 3,1|292,"Ski|
|00004dc0| 70 20 77 65 65 6b 65 6e | 64 73 20 77 68 65 6e 20 |p weeken|ds when |
|00004dd0| 70 72 6f 6d 70 74 69 6e | 67 20 66 6f 72 20 6e 65 |promptin|g for ne|
|00004de0| 78 74 20 64 61 74 65 3f | 22 2c 2c 2c 72 0d 70 75 |xt date?|",,,r.pu|
|00004df0| 74 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 6e 74 |t the re|sult int|
|00004e00| 6f 20 74 68 65 52 65 73 | 75 6c 74 0d 69 66 20 74 |o theRes|ult.if t|
|00004e10| 68 65 52 65 73 75 6c 74 | 20 3d 20 65 6d 70 74 79 |heResult| = empty|
|00004e20| 20 74 68 65 6e 20 65 78 | 69 74 20 73 65 74 57 6b | then ex|it setWk|
|00004e30| 6e 64 73 0d 65 6c 73 65 | 0d 69 66 20 6c 69 6e 65 |nds.else|.if line|
|00004e40| 20 31 20 6f 66 20 74 68 | 65 52 65 73 75 6c 74 20 | 1 of th|eResult |
|00004e50| 3d 20 34 20 74 68 65 6e | 0d 70 75 74 20 22 54 72 |= 4 then|.put "Tr|
|00004e60| 75 65 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 31 34 |ue" into| line 14|
|00004e70| 20 6f 66 20 74 6b 50 72 | 65 66 73 0d 65 6c 73 65 | of tkPr|efs.else|
|00004e80| 20 70 75 74 20 22 46 61 | 6c 73 65 22 20 69 6e 74 | put "Fa|lse" int|
|00004e90| 6f 20 6c 69 6e 65 20 31 | 34 20 6f 66 20 74 6b 50 |o line 1|4 of tkP|
|00004ea0| 72 65 66 73 0d 65 6e 64 | 20 69 66 0d 70 72 65 66 |refs.end| if.pref|
|00004eb0| 53 65 74 0d 65 6e 64 20 | 73 65 74 57 6b 6e 64 73 |Set.end |setWknds|
|00004ec0| 0d 0d 6f 6e 20 70 72 65 | 66 53 65 74 0d 67 6c 6f |..on pre|fSet.glo|
|00004ed0| 62 61 6c 20 74 6b 50 72 | 65 66 73 0d 70 75 74 20 |bal tkPr|efs.put |
|00004ee0| 74 6b 50 72 65 66 73 20 | 69 6e 74 6f 20 66 6c 64 |tkPrefs |into fld|
|00004ef0| 20 69 64 20 34 38 20 6f | 66 20 63 64 20 31 0d 65 | id 48 o|f cd 1.e|
|00004f00| 6e 64 20 70 72 65 66 53 | 65 74 0d 0d 6f 6e 20 67 |nd prefS|et..on g|
|00004f10| 65 74 48 6f 75 72 73 0d | 67 6c 6f 62 61 6c 20 7a |etHours.|global z|
|00004f20| 2c 63 61 6e 63 65 6c 0d | 73 65 74 20 74 68 65 20 |,cancel.|set the |
|00004f30| 6e 75 6d 62 65 72 46 6f | 72 6d 61 74 20 74 6f 20 |numberFo|rmat to |
|00004f40| 22 30 22 0d 70 75 74 20 | 7a 20 2a 20 31 20 69 6e |"0".put |z * 1 in|
|00004f50| 74 6f 20 6c 69 6e 65 50 | 72 6f 6d 70 74 0d 73 68 |to lineP|rompt.sh|
|00004f60| 6f 77 44 69 61 6c 6f 67 | 20 32 2c 32 31 31 31 2c |owDialog| 2,2111,|
|00004f70| 22 20 20 20 20 20 20 48 | 6f 75 72 73 20 66 6f 72 |" H|ours for|
|00004f80| 20 6c 69 6e 65 20 22 20 | 26 20 6c 69 6e 65 50 72 | line " |& linePr|
|00004f90| 6f 6d 70 74 20 26 20 22 | 3f 22 2c 2c 6c 69 6e 65 |ompt & "|?",,line|
|00004fa0| 20 7a 20 6f 66 20 66 6c | 64 20 69 64 20 34 0d 70 | z of fl|d id 4.p|
|00004fb0| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 68 65 |ut line |1 of the|
|00004fc0| 20 72 65 73 75 6c 74 20 | 69 6e 74 6f 20 6e 0d 69 | result |into n.i|
|00004fd0| 66 20 6e 20 3d 20 65 6d | 70 74 79 20 74 68 65 6e |f n = em|pty then|
|00004fe0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 63 |.put tru|e into c|
|00004ff0| 61 6e 63 65 6c 0d 65 78 | 69 74 20 74 6f 20 68 79 |ancel.ex|it to hy|
|00005000| 70 65 72 63 61 72 64 0d | 65 6e 64 20 69 66 0d 70 |percard.|end if.p|
|00005010| 75 74 20 63 68 65 63 6b | 4e 75 6d 62 65 72 28 6e |ut check|Number(n|
|00005020| 29 20 69 6e 74 6f 20 6e | 0d 69 66 20 6e 20 3d 20 |) into n|.if n = |
|00005030| 72 65 64 6f 20 74 68 65 | 6e 0d 67 65 74 48 6f 75 |redo the|n.getHou|
|00005040| 72 73 0d 65 78 69 74 20 | 67 65 74 48 6f 75 72 73 |rs.exit |getHours|
|00005050| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 63 6f 6e 76 |.end if.|put conv|
|00005060| 65 72 74 48 72 73 28 6e | 29 20 69 6e 74 6f 20 6c |ertHrs(n|) into l|
|00005070| 69 6e 65 20 7a 20 6f 66 | 20 66 6c 64 20 69 64 20 |ine z of| fld id |
|00005080| 34 0d 65 6e 64 20 67 65 | 74 48 6f 75 72 73 0d 0d |4.end ge|tHours..|
|00005090| 66 75 6e 63 74 69 6f 6e | 20 63 68 65 63 6b 4e 75 |function| checkNu|
|000050a0| 6d 62 65 72 20 6e 0d 70 | 75 74 20 30 20 69 6e 74 |mber n.p|ut 0 int|
|000050b0| 6f 20 64 65 63 69 4e 75 | 6d 0d 72 65 70 65 61 74 |o deciNu|m.repeat|
|000050c0| 20 77 69 74 68 20 78 20 | 3d 20 31 20 74 6f 20 6c | with x |= 1 to l|
|000050d0| 65 6e 67 74 68 20 28 6e | 29 0d 70 75 74 20 63 68 |ength (n|).put ch|
|000050e0| 61 72 74 6f 4e 75 6d 20 | 6f 66 20 63 68 61 72 20 |artoNum |of char |
|000050f0| 78 20 6f 66 20 6e 20 69 | 6e 74 6f 20 63 68 65 63 |x of n i|nto chec|
|00005100| 6b 4e 75 6d 0d 69 66 20 | 63 68 65 63 6b 4e 75 6d |kNum.if |checkNum|
|00005110| 20 3d 20 34 36 20 74 68 | 65 6e 20 61 64 64 20 31 | = 46 th|en add 1|
|00005120| 20 74 6f 20 64 65 63 69 | 4e 75 6d 0d 69 66 20 28 | to deci|Num.if (|
|00005130| 63 68 65 63 6b 4e 75 6d | 20 3d 20 34 36 20 61 6e |checkNum| = 46 an|
|00005140| 64 20 6c 65 6e 67 74 68 | 20 28 6e 29 20 3d 31 20 |d length| (n) =1 |
|00005150| 6f 72 20 63 68 65 63 6b | 4e 75 6d 20 3c 3e 20 34 |or check|Num <> 4|
|00005160| 36 20 61 6e 64 20 c2 0d | 63 68 65 63 6b 4e 75 6d |6 and ..|checkNum|
|00005170| 20 3c 20 34 38 29 20 6f | 72 20 63 68 65 63 6b 4e | < 48) o|r checkN|
|00005180| 75 6d 20 3e 20 35 37 20 | 6f 72 20 64 65 63 69 4e |um > 57 |or deciN|
|00005190| 75 6d 20 3e 20 31 20 74 | 68 65 6e 0d 6e 75 6d 57 |um > 1 t|hen.numW|
|000051a0| 61 72 6e 69 6e 67 0d 72 | 65 74 75 72 6e 20 72 65 |arning.r|eturn re|
|000051b0| 64 6f 0d 65 78 69 74 20 | 63 68 65 63 6b 4e 75 6d |do.exit |checkNum|
|000051c0| 62 65 72 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |ber.end |if.end r|
|000051d0| 65 70 65 61 74 0d 72 65 | 74 75 72 6e 20 6e 0d 65 |epeat.re|turn n.e|
|000051e0| 6e 64 20 63 68 65 63 6b | 4e 75 6d 62 65 72 0d 0d |nd check|Number..|
|000051f0| 6f 6e 20 63 6f 6d 6d 61 | 57 61 72 6e 69 6e 67 0d |on comma|Warning.|
|00005200| 62 65 65 70 0d 73 68 6f | 77 44 69 61 6c 6f 67 20 |beep.sho|wDialog |
|00005210| 32 2c 32 39 35 31 2c 22 | 53 6f 72 72 79 21 20 43 |2,2951,"|Sorry! C|
|00005220| 61 6e d5 74 20 75 73 65 | 20 63 6f 6d 6d 61 73 2e |an.t use| commas.|
|00005230| 20 50 6c 65 61 73 65 20 | 74 72 79 20 61 67 61 69 | Please |try agai|
|00005240| 6e 2e 22 2c 22 22 2c 22 | 22 0d 65 6e 64 20 63 6f |n.","","|".end co|
|00005250| 6d 6d 61 57 61 72 6e 69 | 6e 67 0d 0d 6f 6e 20 68 |mmaWarni|ng..on h|
|00005260| 69 64 65 54 4b 0d 67 6c | 6f 62 61 6c 20 74 6b 50 |ideTK.gl|obal tkP|
|00005270| 72 65 66 73 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |refs.loc|k screen|
|00005280| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00005290| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 73 20 69 6e 20 |of menuI|tems in |
|000052a0| 6d 65 6e 75 20 54 69 6d | 65 6b 65 65 70 65 72 20 |menu Tim|ekeeper |
|000052b0| 69 6e 74 6f 20 69 0d 69 | 66 20 74 68 65 20 76 69 |into i.i|f the vi|
|000052c0| 73 69 62 6c 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |sible of| window |
|000052d0| 28 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 |(short n|ame of t|
|000052e0| 68 69 73 20 73 74 61 63 | 6b 29 20 3d 20 74 72 75 |his stac|k) = tru|
|000052f0| 65 20 74 68 65 6e 0d 68 | 69 64 65 20 77 69 6e 64 |e then.h|ide wind|
|00005300| 6f 77 20 28 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |ow (shor|t name o|
|00005310| 66 20 74 68 69 73 20 73 | 74 61 63 6b 29 0d 73 65 |f this s|tack).se|
|00005320| 74 20 74 68 65 20 63 68 | 65 63 6b 4d 61 72 6b 20 |t the ch|eckMark |
|00005330| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 48 69 64 |of menuI|tem "Hid|
|00005340| 65 20 54 69 6d 65 6b 65 | 65 70 65 72 22 20 6f 66 |e Timeke|eper" of|
|00005350| 20 6d 65 6e 75 20 54 69 | 6d 65 6b 65 65 70 65 72 | menu Ti|mekeeper|
|00005360| 20 74 6f 20 74 72 75 65 | 0d 72 65 70 65 61 74 20 | to true|.repeat |
|00005370| 77 69 74 68 20 78 20 3d | 20 33 20 74 6f 20 69 0d |with x =| 3 to i.|
|00005380| 64 69 73 61 62 6c 65 20 | 6d 65 6e 75 49 74 65 6d |disable |menuItem|
|00005390| 20 78 20 6f 66 20 6d 65 | 6e 75 20 54 69 6d 65 6b | x of me|nu Timek|
|000053a0| 65 65 70 65 72 0d 65 6e | 64 20 72 65 70 65 61 74 |eeper.en|d repeat|
|000053b0| 0d 65 6c 73 65 0d 73 68 | 6f 77 20 77 69 6e 64 6f |.else.sh|ow windo|
|000053c0| 77 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |w short |name of |
|000053d0| 74 68 69 73 20 73 74 61 | 63 6b 0d 73 65 74 20 74 |this sta|ck.set t|
|000053e0| 68 65 20 63 68 65 63 6b | 4d 61 72 6b 20 6f 66 20 |he check|Mark of |
|000053f0| 6d 65 6e 75 49 74 65 6d | 20 22 48 69 64 65 20 54 |menuItem| "Hide T|
|00005400| 69 6d 65 6b 65 65 70 65 | 72 22 20 6f 66 20 6d 65 |imekeepe|r" of me|
|00005410| 6e 75 20 54 69 6d 65 6b | 65 65 70 65 72 20 74 6f |nu Timek|eeper to|
|00005420| 20 66 61 6c 73 65 0d 72 | 65 70 65 61 74 20 77 69 | false.r|epeat wi|
|00005430| 74 68 20 78 20 3d 20 33 | 20 74 6f 20 69 0d 65 6e |th x = 3| to i.en|
|00005440| 61 62 6c 65 20 6d 65 6e | 75 49 74 65 6d 20 78 20 |able men|uItem x |
|00005450| 6f 66 20 6d 65 6e 75 20 | 54 69 6d 65 6b 65 65 70 |of menu |Timekeep|
|00005460| 65 72 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |er.end r|epeat.en|
|00005470| 64 20 69 66 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |d if.unl|ock scre|
|00005480| 65 6e 0d 65 6e 64 20 68 | 69 64 65 54 4b 0d 0d 6f |en.end h|ideTK..o|
|00005490| 6e 20 65 78 69 74 4d 6f | 76 65 0d 67 6c 6f 62 61 |n exitMo|ve.globa|
|000054a0| 6c 20 63 6f 70 79 4d 6f | 64 65 2c 70 61 73 74 65 |l copyMo|de,paste|
|000054b0| 4d 6f 64 65 2c 6d 6f 76 | 65 54 65 78 74 0d 70 75 |Mode,mov|eText.pu|
|000054c0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 63 6f 70 |t false |into cop|
|000054d0| 79 4d 6f 64 65 0d 69 66 | 20 6d 6f 76 65 54 65 78 |yMode.if| moveTex|
|000054e0| 74 20 ad 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |t . empt|y then.p|
|000054f0| 75 74 20 22 43 61 6e 63 | 65 6c 6c 69 6e 67 20 6e |ut "Canc|elling n|
|00005500| 6f 77 20 77 69 6c 6c 20 | 64 65 6c 65 74 65 20 74 |ow will |delete t|
|00005510| 68 65 20 6c 69 6e 65 20 | 79 6f 75 20 73 65 6c 65 |he line |you sele|
|00005520| 63 74 65 64 2e 20 52 65 | 73 74 6f 72 65 20 22 20 |cted. Re|store " |
|00005530| 26 c2 0d 22 74 68 65 20 | 6c 69 6e 65 3f 22 20 69 |&.."the |line?" i|
|00005540| 6e 74 6f 20 70 72 6f 6d | 70 74 0d 62 65 65 70 0d |nto prom|pt.beep.|
|00005550| 73 68 6f 77 44 69 61 6c | 6f 67 20 31 2c 31 33 30 |showDial|og 1,130|
|00005560| 35 2c 70 72 6f 6d 70 74 | 2c 54 52 55 45 0d 69 66 |5,prompt|,TRUE.if|
|00005570| 20 74 68 65 20 72 65 73 | 75 6c 74 20 ad 20 34 20 | the res|ult . 4 |
|00005580| 74 68 65 6e 20 72 65 73 | 74 6f 72 65 4d 6f 76 65 |then res|toreMove|
|00005590| 0d 65 6e 64 20 69 66 0d | 65 6e 61 62 6c 65 20 6d |.end if.|enable m|
|000055a0| 65 6e 75 20 54 69 6d 65 | 6b 65 65 70 65 72 0d 65 |enu Time|keeper.e|
|000055b0| 6e 61 62 6c 65 20 6d 65 | 6e 75 20 47 6f 0d 63 6c |nable me|nu Go.cl|
|000055c0| 6f 73 65 4d 6f 76 65 57 | 69 6e 64 6f 77 73 0d 65 |oseMoveW|indows.e|
|000055d0| 6e 64 20 65 78 69 74 4d | 6f 76 65 0d 0d 6f 6e 20 |nd exitM|ove..on |
|000055e0| 72 65 73 74 6f 72 65 4d | 6f 76 65 0d 67 6c 6f 62 |restoreM|ove.glob|
|000055f0| 61 6c 20 74 43 64 2c 62 | 2c 6d 6f 76 65 54 65 78 |al tCd,b|,moveTex|
|00005600| 74 2c 70 61 73 74 65 4d | 6f 64 65 0d 73 65 74 20 |t,pasteM|ode.set |
|00005610| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00005620| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 73 65 74 20 |lock scr|een.set |
|00005630| 6c 6f 63 6b 4d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockMess|ages to |
|00005640| 74 72 75 65 0d 69 66 20 | 62 20 3e 20 31 20 74 68 |true.if |b > 1 th|
|00005650| 65 6e 0d 70 75 74 20 72 | 65 74 75 72 6e 20 69 6e |en.put r|eturn in|
|00005660| 74 6f 20 67 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |to g.put| empty i|
|00005670| 6e 74 6f 20 68 0d 65 6e | 64 20 69 66 0d 69 66 20 |nto h.en|d if.if |
|00005680| 62 20 3d 20 31 20 74 68 | 65 6e 0d 70 75 74 20 65 |b = 1 th|en.put e|
|00005690| 6d 70 74 79 20 69 6e 74 | 6f 20 67 0d 70 75 74 20 |mpty int|o g.put |
|000056a0| 72 65 74 75 72 6e 20 69 | 6e 74 6f 20 68 0d 65 6e |return i|nto h.en|
|000056b0| 64 20 69 66 0d 72 65 70 | 65 61 74 20 77 69 74 68 |d if.rep|eat with|
|000056c0| 20 78 20 3d 20 31 20 74 | 6f 20 35 0d 70 75 74 20 | x = 1 t|o 5.put |
|000056d0| 67 20 26 20 6c 69 6e 65 | 20 78 20 6f 66 20 6d 6f |g & line| x of mo|
|000056e0| 76 65 54 65 78 74 20 26 | 20 68 20 69 6e 74 6f 20 |veText &| h into |
|000056f0| 72 65 73 74 6f 72 65 54 | 65 78 74 0d 70 75 74 20 |restoreT|ext.put |
|00005700| 72 65 73 74 6f 72 65 54 | 65 78 74 20 61 66 74 65 |restoreT|ext afte|
|00005710| 72 20 6c 69 6e 65 20 28 | 62 20 2d 20 31 29 20 6f |r line (|b - 1) o|
|00005720| 66 20 66 6c 64 20 78 20 | 6f 66 20 63 64 20 74 43 |f fld x |of cd tC|
|00005730| 64 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 73 75 6d |d.end re|peat.sum|
|00005740| 49 74 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |It.set l|ockMessa|
|00005750| 67 65 73 20 74 6f 20 66 | 61 6c 73 65 0d 67 6f 20 |ges to f|alse.go |
|00005760| 63 64 20 74 43 64 0d 70 | 75 74 20 65 6d 70 74 79 |cd tCd.p|ut empty|
|00005770| 20 69 6e 74 6f 20 6d 6f | 76 65 54 65 78 74 0d 70 | into mo|veText.p|
|00005780| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 70 61 |ut false| into pa|
|00005790| 73 74 65 4d 6f 64 65 0d | 63 6c 6f 73 65 4d 6f 76 |steMode.|closeMov|
|000057a0| 65 57 69 6e 64 6f 77 73 | 0d 75 6e 6c 6f 63 6b 20 |eWindows|.unlock |
|000057b0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 72 65 73 74 6f |screen.e|nd resto|
|000057c0| 72 65 4d 6f 76 65 0d 0d | 6f 6e 20 6d 6f 76 65 4c |reMove..|on moveL|
|000057d0| 69 6e 65 0d 67 6c 6f 62 | 61 6c 20 63 6f 70 79 4d |ine.glob|al copyM|
|000057e0| 6f 64 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ode.set |cursor t|
|000057f0| 6f 20 77 61 74 63 68 0d | 6c 6f 63 6b 20 73 63 72 |o watch.|lock scr|
|00005800| 65 65 6e 0d 70 61 6c 65 | 74 74 65 20 73 74 61 72 |een.pale|tte star|
|00005810| 74 4d 6f 76 65 2c 22 32 | 34 30 2c 32 34 38 22 0d |tMove,"2|40,248".|
|00005820| 68 69 64 65 20 62 67 20 | 62 74 6e 20 69 64 20 32 |hide bg |btn id 2|
|00005830| 32 0d 68 69 64 65 20 62 | 67 20 62 74 6e 20 69 64 |2.hide b|g btn id|
|00005840| 20 31 0d 68 69 64 65 20 | 62 67 20 62 74 6e 20 69 | 1.hide |bg btn i|
|00005850| 64 20 31 33 0d 68 69 64 | 65 20 62 67 20 62 74 6e |d 13.hid|e bg btn|
|00005860| 20 69 64 20 34 32 0d 64 | 69 73 61 62 6c 65 20 6d | id 42.d|isable m|
|00005870| 65 6e 75 20 47 6f 0d 70 | 75 74 20 74 72 75 65 20 |enu Go.p|ut true |
|00005880| 69 6e 74 6f 20 63 6f 70 | 79 4d 6f 64 65 0d 62 65 |into cop|yMode.be|
|00005890| 65 70 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ep.unloc|k screen|
|000058a0| 0d 64 69 73 61 62 6c 65 | 20 6d 65 6e 75 20 54 69 |.disable| menu Ti|
|000058b0| 6d 65 6b 65 65 70 65 72 | 0d 65 6e 64 20 6d 6f 76 |mekeeper|.end mov|
|000058c0| 65 4c 69 6e 65 0d 0d 6f | 6e 20 64 6f 4d 6f 76 65 |eLine..o|n doMove|
|000058d0| 0d 67 6c 6f 62 61 6c 20 | 70 61 73 74 65 4d 6f 64 |.global |pasteMod|
|000058e0| 65 2c 6d 6f 76 65 54 65 | 78 74 2c 62 2c 74 43 64 |e,moveTe|xt,b,tCd|
|000058f0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00005900| 61 74 63 68 0d 69 66 20 | 74 68 65 20 73 68 6f 72 |atch.if |the shor|
|00005910| 74 20 69 64 20 6f 66 20 | 74 68 69 73 20 62 67 20 |t id of |this bg |
|00005920| ad 20 35 34 34 39 20 74 | 68 65 6e 0d 62 65 65 70 |. 5449 t|hen.beep|
|00005930| 0d 73 68 6f 77 44 69 61 | 6c 6f 67 20 32 2c 32 39 |.showDia|log 2,29|
|00005940| 35 31 2c 22 59 6f 75 20 | 63 61 6e 20 6f 6e 6c 79 |51,"You |can only|
|00005950| 20 61 64 64 20 74 68 69 | 73 20 64 61 74 61 20 74 | add thi|s data t|
|00005960| 6f 20 61 20 4a 6f 62 20 | 53 68 65 65 74 2e 20 53 |o a Job |Sheet. S|
|00005970| 74 61 72 74 20 61 67 61 | 69 6e 2e 22 2c 22 22 2c |tart aga|in.","",|
|00005980| 22 22 0d 72 65 73 74 6f | 72 65 4d 6f 76 65 0d 65 |"".resto|reMove.e|
|00005990| 6e 64 20 69 66 0d 69 66 | 20 70 61 73 74 65 4d 6f |nd if.if| pasteMo|
|000059a0| 64 65 20 3d 20 74 72 75 | 65 20 61 6e 64 20 6d 6f |de = tru|e and mo|
|000059b0| 76 65 54 65 78 74 20 ad | 20 65 6d 70 74 79 20 74 |veText .| empty t|
|000059c0| 68 65 6e 0d 70 75 74 20 | 31 20 2b 20 74 68 65 20 |hen.put |1 + the |
|000059d0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|000059e0| 69 6e 20 66 6c 64 20 69 | 64 20 32 20 69 6e 74 6f |in fld i|d 2 into|
|000059f0| 20 6e 0d 69 66 20 6e 20 | 3e 20 31 20 74 68 65 6e | n.if n |> 1 then|
|00005a00| 20 70 75 74 20 72 65 74 | 75 72 6e 20 69 6e 74 6f | put ret|urn into|
|00005a10| 20 67 0d 65 6c 73 65 20 | 70 75 74 20 65 6d 70 74 | g.else |put empt|
|00005a20| 79 20 69 6e 74 6f 20 67 | 0d 6c 6f 63 6b 20 73 63 |y into g|.lock sc|
|00005a30| 72 65 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |reen.rep|eat with|
|00005a40| 20 78 20 3d 20 31 20 74 | 6f 20 35 0d 70 75 74 20 | x = 1 t|o 5.put |
|00005a50| 6c 69 6e 65 20 78 20 6f | 66 20 6d 6f 76 65 54 65 |line x o|f moveTe|
|00005a60| 78 74 20 26 20 67 20 69 | 6e 74 6f 20 6c 69 6e 65 |xt & g i|nto line|
|00005a70| 20 6e 20 6f 66 20 66 6c | 64 20 78 0d 65 6e 64 20 | n of fl|d x.end |
|00005a80| 72 65 70 65 61 74 0d 70 | 75 74 20 74 68 65 20 73 |repeat.p|ut the s|
|00005a90| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00005aa0| 73 20 63 64 20 69 6e 74 | 6f 20 74 43 64 0d 73 75 |s cd int|o tCd.su|
|00005ab0| 6d 48 6f 75 72 73 0d 75 | 6e 6c 6f 63 6b 20 73 63 |mHours.u|nlock sc|
|00005ac0| 72 65 65 6e 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |reen.put| empty i|
|00005ad0| 6e 74 6f 20 6d 6f 76 65 | 54 65 78 74 0d 65 6e 64 |nto move|Text.end|
|00005ae0| 20 69 66 0d 65 78 69 74 | 4d 6f 76 65 0d 65 6e 64 | if.exit|Move.end|
|00005af0| 20 64 6f 4d 6f 76 65 0d | 0d 6f 6e 20 63 6c 6f 73 | doMove.|.on clos|
|00005b00| 65 4d 6f 76 65 57 69 6e | 64 6f 77 73 0d 67 6c 6f |eMoveWin|dows.glo|
|00005b10| 62 61 6c 20 6d 6f 76 65 | 54 65 78 74 2c 70 61 73 |bal move|Text,pas|
|00005b20| 74 65 4d 6f 64 65 0d 73 | 65 74 20 63 75 72 73 6f |teMode.s|et curso|
|00005b30| 72 20 74 6f 20 77 61 74 | 63 68 0d 73 68 6f 77 20 |r to wat|ch.show |
|00005b40| 62 67 20 62 74 6e 20 69 | 64 20 32 32 0d 73 68 6f |bg btn i|d 22.sho|
|00005b50| 77 20 62 67 20 62 74 6e | 20 69 64 20 31 0d 73 68 |w bg btn| id 1.sh|
|00005b60| 6f 77 20 62 67 20 62 74 | 6e 20 69 64 20 31 33 0d |ow bg bt|n id 13.|
|00005b70| 73 68 6f 77 20 62 67 20 | 62 74 6e 20 69 64 20 34 |show bg |btn id 4|
|00005b80| 32 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |2.put fa|lse into|
|00005b90| 20 63 6f 70 79 4d 6f 64 | 65 0d 70 75 74 20 66 61 | copyMod|e.put fa|
|00005ba0| 6c 73 65 20 69 6e 74 6f | 20 70 61 73 74 65 4d 6f |lse into| pasteMo|
|00005bb0| 64 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |de.put e|mpty int|
|00005bc0| 6f 20 6d 6f 76 65 54 65 | 78 74 0d 69 66 20 74 68 |o moveTe|xt.if th|
|00005bd0| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00005be0| 22 73 74 61 72 74 4d 6f | 76 65 22 20 74 68 65 6e |"startMo|ve" then|
|00005bf0| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 73 | close w|indow "s|
|00005c00| 74 61 72 74 4d 6f 76 65 | 22 0d 69 66 20 74 68 65 |tartMove|".if the|
|00005c10| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 22 |re is a |window "|
|00005c20| 64 6f 4d 6f 76 65 22 20 | 74 68 65 6e 20 63 6c 6f |doMove" |then clo|
|00005c30| 73 65 20 77 69 6e 64 6f | 77 20 22 64 6f 4d 6f 76 |se windo|w "doMov|
|00005c40| 65 22 0d 65 6e 64 20 63 | 6c 6f 73 65 4d 6f 76 65 |e".end c|loseMove|
|00005c50| 57 69 6e 64 6f 77 73 0d | 0d 6f 6e 20 67 6f 4e 65 |Windows.|.on goNe|
|00005c60| 78 74 0d 67 6f 20 6e 65 | 78 74 20 63 64 20 6f 66 |xt.go ne|xt cd of|
|00005c70| 20 74 68 69 73 20 62 67 | 0d 65 6e 64 20 67 6f 4e | this bg|.end goN|
|00005c80| 65 78 74 0d 0d 6f 6e 20 | 67 6f 50 72 65 76 0d 67 |ext..on |goPrev.g|
|00005c90| 6f 20 70 72 65 76 20 63 | 64 20 6f 66 20 74 68 69 |o prev c|d of thi|
|00005ca0| 73 20 62 67 0d 65 6e 64 | 20 67 6f 50 72 65 76 0d |s bg.end| goPrev.|
|00005cb0| 0d 6f 6e 20 63 6c 6f 73 | 65 50 61 6c 65 74 74 65 |.on clos|ePalette|
|00005cc0| 20 77 68 69 63 68 0d 67 | 6c 6f 62 61 6c 20 63 6f | which.g|lobal co|
|00005cd0| 70 79 4d 6f 64 65 2c 70 | 61 73 74 65 4d 6f 64 65 |pyMode,p|asteMode|
|00005ce0| 0d 69 66 20 77 68 69 63 | 68 20 3d 20 73 74 61 72 |.if whic|h = star|
|00005cf0| 74 4d 6f 76 65 20 61 6e | 64 20 63 6f 70 79 4d 6f |tMove an|d copyMo|
|00005d00| 64 65 20 3d 20 74 72 75 | 65 20 74 68 65 6e 20 70 |de = tru|e then p|
|00005d10| 61 6c 65 74 74 65 20 73 | 74 61 72 74 4d 6f 76 65 |alette s|tartMove|
|00005d20| 0d 69 66 20 77 68 69 63 | 68 20 3d 20 64 6f 4d 6f |.if whic|h = doMo|
|00005d30| 76 65 20 61 6e 64 20 70 | 61 73 74 65 4d 6f 64 65 |ve and p|asteMode|
|00005d40| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 20 70 61 6c | = true |then pal|
|00005d50| 65 74 74 65 20 64 6f 4d | 6f 76 65 0d 65 6e 64 20 |ette doM|ove.end |
|00005d60| 63 6c 6f 73 65 50 61 6c | 65 74 74 65 0d 0d 6f 6e |closePal|ette..on|
|00005d70| 20 73 75 6d 52 65 70 6f | 72 74 0d 67 6c 6f 62 61 | sumRepo|rt.globa|
|00005d80| 6c 20 74 6b 50 72 65 66 | 73 0d 69 66 20 6c 69 6e |l tkPref|s.if lin|
|00005d90| 65 20 33 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d |e 3 of t|kPrefs =|
|00005da0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 73 65 74 55 | empty t|hen setU|
|00005db0| 70 0d 70 75 74 20 66 6c | 64 20 69 64 20 34 34 20 |p.put fl|d id 44 |
|00005dc0| 26 20 22 2f 22 20 26 20 | 66 6c 64 20 69 64 20 37 |& "/" & |fld id 7|
|00005dd0| 20 26 20 22 20 53 75 6d | 6d 61 72 79 22 20 69 6e | & " Sum|mary" in|
|00005de0| 74 6f 20 72 65 70 6f 72 | 74 4e 61 6d 65 0d 73 68 |to repor|tName.sh|
|00005df0| 6f 77 44 69 61 6c 6f 67 | 20 32 2c 35 36 33 39 2c |owDialog| 2,5639,|
|00005e00| 22 50 6c 65 61 73 65 20 | 6e 61 6d 65 20 74 68 69 |"Please |name thi|
|00005e10| 73 20 72 65 70 6f 72 74 | 2e 22 2c 22 22 2c 72 65 |s report|.","",re|
|00005e20| 70 6f 72 74 4e 61 6d 65 | 0d 67 65 74 20 6c 69 6e |portName|.get lin|
|00005e30| 65 20 31 20 6f 66 20 74 | 68 65 20 72 65 73 75 6c |e 1 of t|he resul|
|00005e40| 74 0d 69 66 20 69 74 20 | 3d 20 65 6d 70 74 79 20 |t.if it |= empty |
|00005e50| 74 68 65 6e 20 65 78 69 | 74 20 73 75 6d 52 65 70 |then exi|t sumRep|
|00005e60| 6f 72 74 0d 70 75 74 20 | 6c 69 6e 65 20 33 20 6f |ort.put |line 3 o|
|00005e70| 66 20 74 6b 50 72 65 66 | 73 20 26 20 69 74 20 69 |f tkPref|s & it i|
|00005e80| 6e 74 6f 20 72 65 70 6f | 72 74 4e 61 6d 65 0d 73 |nto repo|rtName.s|
|00005e90| 65 74 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |et the c|ursor to|
|00005ea0| 20 77 61 74 63 68 0d 70 | 75 74 20 66 6c 64 20 32 | watch.p|ut fld 2|
|00005eb0| 20 69 6e 74 6f 20 61 63 | 74 69 76 69 74 79 0d 70 | into ac|tivity.p|
|00005ec0| 75 74 20 66 6c 64 20 69 | 64 20 36 20 69 6e 74 6f |ut fld i|d 6 into|
|00005ed0| 20 68 6f 75 72 73 0d 70 | 75 74 20 66 6c 64 20 69 | hours.p|ut fld i|
|00005ee0| 64 20 35 20 69 6e 74 6f | 20 63 68 61 72 67 65 73 |d 5 into| charges|
|00005ef0| 0d 70 75 74 20 74 61 62 | 20 26 20 22 53 75 6d 6d |.put tab| & "Summ|
|00005f00| 61 72 79 20 52 65 70 6f | 72 74 22 20 26 20 72 65 |ary Repo|rt" & re|
|00005f10| 74 75 72 6e 20 26 20 74 | 61 62 20 26 20 74 68 65 |turn & t|ab & the|
|00005f20| 20 73 68 6f 72 74 20 64 | 61 74 65 20 26 20 72 65 | short d|ate & re|
|00005f30| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 26 20 |turn & r|eturn & |
|00005f40| 66 6c 64 20 69 64 20 34 | 34 20 26 20 74 61 62 20 |fld id 4|4 & tab |
|00005f50| 26 20 c2 0d 66 6c 64 20 | 69 64 20 38 20 26 20 72 |& ..fld |id 8 & r|
|00005f60| 65 74 75 72 6e 20 26 20 | 22 4a 6f 62 20 23 3a 20 |eturn & |"Job #: |
|00005f70| 22 20 26 20 66 6c 64 20 | 69 64 20 39 20 26 20 74 |" & fld |id 9 & t|
|00005f80| 61 62 20 69 6e 74 6f 20 | 72 65 70 6f 72 74 49 6e |ab into |reportIn|
|00005f90| 66 6f 0d 69 66 20 74 68 | 65 20 76 69 73 69 62 6c |fo.if th|e visibl|
|00005fa0| 65 20 6f 66 20 66 6c 64 | 20 69 64 20 31 30 20 3d |e of fld| id 10 =|
|00005fb0| 20 74 72 75 65 0d 74 68 | 65 6e 20 70 75 74 20 74 | true.th|en put t|
|00005fc0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00005fd0| 20 62 67 20 62 74 6e 20 | 69 64 20 34 36 20 26 26 | bg btn |id 46 &&|
|00005fe0| 20 66 6c 64 20 69 64 20 | 31 30 20 61 66 74 65 72 | fld id |10 after|
|00005ff0| 20 72 65 70 6f 72 74 49 | 6e 66 6f 0d 70 75 74 20 | reportI|nfo.put |
|00006000| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|00006010| 26 20 22 41 63 74 69 76 | 69 74 79 22 20 26 20 74 |& "Activ|ity" & t|
|00006020| 61 62 20 26 20 22 48 6f | 75 72 73 22 20 26 20 74 |ab & "Ho|urs" & t|
|00006030| 61 62 20 26 20 22 43 68 | 61 72 67 65 73 22 20 61 |ab & "Ch|arges" a|
|00006040| 66 74 65 72 20 72 65 70 | 6f 72 74 49 6e 66 6f 0d |fter rep|ortInfo.|
|00006050| 67 65 74 20 73 75 6d 52 | 65 70 6f 72 74 28 61 63 |get sumR|eport(ac|
|00006060| 74 69 76 69 74 79 2c 68 | 6f 75 72 73 2c 63 68 61 |tivity,h|ours,cha|
|00006070| 72 67 65 73 29 0d 73 65 | 74 20 74 68 65 20 69 74 |rges).se|t the it|
|00006080| 65 6d 44 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 74 |emDelimi|ter to t|
|00006090| 61 62 0d 73 65 74 20 6e | 75 6d 62 65 72 46 6f 72 |ab.set n|umberFor|
|000060a0| 6d 61 74 20 74 6f 20 22 | 30 2e 30 30 22 0d 72 65 |mat to "|0.00".re|
|000060b0| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 31 20 |peat wit|h x = 1 |
|000060c0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|000060d0| 20 6c 69 6e 65 73 20 69 | 6e 20 69 74 0d 70 75 74 | lines i|n it.put|
|000060e0| 20 28 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 | (item 2| of line|
|000060f0| 20 78 20 6f 66 20 69 74 | 29 20 2a 20 31 20 69 6e | x of it|) * 1 in|
|00006100| 74 6f 20 69 74 65 6d 20 | 32 20 6f 66 20 6c 69 6e |to item |2 of lin|
|00006110| 65 20 78 20 6f 66 20 69 | 74 0d 70 75 74 20 22 24 |e x of i|t.put "$|
|00006120| 22 20 26 20 28 69 74 65 | 6d 20 33 20 6f 66 20 6c |" & (ite|m 3 of l|
|00006130| 69 6e 65 20 78 20 6f 66 | 20 69 74 29 20 2a 20 31 |ine x of| it) * 1|
|00006140| 20 69 6e 74 6f 20 69 74 | 65 6d 20 33 20 6f 66 20 | into it|em 3 of |
|00006150| 6c 69 6e 65 20 78 20 6f | 66 20 69 74 0d 65 6e 64 |line x o|f it.end|
|00006160| 20 72 65 70 65 61 74 0d | 6f 70 65 6e 20 66 69 6c | repeat.|open fil|
|00006170| 65 20 72 65 70 6f 72 74 | 4e 61 6d 65 0d 77 72 69 |e report|Name.wri|
|00006180| 74 65 20 72 65 70 6f 72 | 74 49 6e 66 6f 20 26 20 |te repor|tInfo & |
|00006190| 72 65 74 75 72 6e 20 26 | 20 69 74 20 26 20 22 54 |return &| it & "T|
|000061a0| 6f 74 61 6c 22 20 26 20 | 74 61 62 20 26 20 77 6f |otal" & |tab & wo|
|000061b0| 72 64 20 31 20 6f 66 20 | 66 6c 64 20 69 64 20 34 |rd 1 of |fld id 4|
|000061c0| 35 20 26 20 74 61 62 20 | 26 20 66 6c 64 20 69 64 |5 & tab |& fld id|
|000061d0| 20 31 31 20 74 6f 20 66 | 69 6c 65 20 72 65 70 6f | 11 to f|ile repo|
|000061e0| 72 74 4e 61 6d 65 0d 63 | 6c 6f 73 65 20 66 69 6c |rtName.c|lose fil|
|000061f0| 65 20 72 65 70 6f 72 74 | 4e 61 6d 65 0d 65 6e 64 |e report|Name.end|
|00006200| 20 73 75 6d 52 65 70 6f | 72 74 0d 0d 66 75 6e 63 | sumRepo|rt..func|
|00006210| 74 69 6f 6e 20 69 74 65 | 6d 46 69 6e 64 20 77 68 |tion ite|mFind wh|
|00006220| 61 74 2c 77 68 65 72 65 | 2c 68 6f 77 0d 70 75 74 |at,where|,how.put|
|00006230| 20 31 20 69 6e 74 6f 20 | 73 74 61 72 74 4f 66 66 | 1 into |startOff|
|00006240| 73 65 74 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 61 |set.put |0 into a|
|00006250| 64 64 65 72 0d 72 65 70 | 65 61 74 0d 70 75 74 20 |dder.rep|eat.put |
|00006260| 6f 66 66 73 65 74 28 77 | 68 61 74 2c 63 68 61 72 |offset(w|hat,char|
|00006270| 20 73 74 61 72 74 4f 66 | 66 73 65 74 20 74 6f 20 | startOf|fset to |
|00006280| 6c 65 6e 67 74 68 28 77 | 68 65 72 65 29 20 6f 66 |length(w|here) of|
|00006290| 20 77 68 65 72 65 29 20 | 69 6e 74 6f 20 73 74 61 | where) |into sta|
|000062a0| 72 74 4f 66 66 73 65 74 | 0d 69 66 20 73 74 61 72 |rtOffset|.if star|
|000062b0| 74 4f 66 66 73 65 74 20 | 3d 20 30 20 74 68 65 6e |tOffset |= 0 then|
|000062c0| 20 72 65 74 75 72 6e 20 | 30 0d 61 64 64 20 73 74 | return |0.add st|
|000062d0| 61 72 74 4f 66 66 73 65 | 74 20 74 6f 20 61 64 64 |artOffse|t to add|
|000062e0| 65 72 0d 67 65 74 20 74 | 68 65 20 6e 75 6d 62 65 |er.get t|he numbe|
|000062f0| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 63 68 |r of lin|es in ch|
|00006300| 61 72 20 31 20 74 6f 20 | 61 64 64 65 72 20 6f 66 |ar 1 to |adder of|
|00006310| 20 77 68 65 72 65 0d 69 | 66 20 77 68 61 74 20 3d | where.i|f what =|
|00006320| 20 69 74 65 6d 20 68 6f | 77 20 6f 66 20 6c 69 6e | item ho|w of lin|
|00006330| 65 20 69 74 20 6f 66 20 | 77 68 65 72 65 20 74 68 |e it of |where th|
|00006340| 65 6e 20 72 65 74 75 72 | 6e 20 69 74 0d 70 75 74 |en retur|n it.put|
|00006350| 20 61 64 64 65 72 2b 31 | 20 69 6e 74 6f 20 73 74 | adder+1| into st|
|00006360| 61 72 74 4f 66 66 73 65 | 74 0d 65 6e 64 20 72 65 |artOffse|t.end re|
|00006370| 70 65 61 74 0d 65 6e 64 | 20 69 74 65 6d 46 69 6e |peat.end| itemFin|
|00006380| 64 0d 0d 6f 6e 20 73 75 | 6d 48 6f 75 72 73 0d 67 |d..on su|mHours.g|
|00006390| 6c 6f 62 61 6c 20 74 43 | 64 0d 6c 6f 63 6b 20 73 |lobal tC|d.lock s|
|000063a0| 63 72 65 65 6e 0d 70 75 | 74 20 66 6c 64 20 69 64 |creen.pu|t fld id|
|000063b0| 20 35 20 6f 66 20 63 64 | 20 74 43 64 20 69 6e 74 | 5 of cd| tCd int|
|000063c0| 6f 20 63 68 61 72 67 65 | 73 0d 70 75 74 20 66 6c |o charge|s.put fl|
|000063d0| 64 20 69 64 20 36 20 6f | 66 20 63 64 20 74 43 64 |d id 6 o|f cd tCd|
|000063e0| 20 69 6e 74 6f 20 68 6f | 75 72 73 0d 73 65 74 20 | into ho|urs.set |
|000063f0| 74 68 65 20 6e 75 6d 62 | 65 72 46 6f 72 6d 61 74 |the numb|erFormat|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.